1
  • How can I get the database username and password in Ruby on Rails?

    I'm currently using Ruby on Rails but I'm looking to do some outside database work. Is there an actual way to get my database info (username, password, host, etc.) for the current environment? I'm trying to get it so I can connect like this: con = Mysql.real_connect("host", "user", "pw",...

    ITKE350,405 pointsBadges:
  • Deleting all records from a database in a Ruby on Rails application

    How would I be able to delete all of my records, in one of my database tables on a Ruby on Rails application. I'm looking for a way not to do it through SQL.

    ITKE350,405 pointsBadges:
  • How to drop a table in Ruby on Rails database

    In my database, I've added a table that I thought that I was going to need but I don't need to use it anymore. Is there a way to remove that table? I've run several migrations already so the table is in my database. I thought this would handle it but I'm not sure: rails generate migration...

    ITKE350,405 pointsBadges:
  • Trying to get the IP address in Ruby on Rails

    I'm currently using a Ruby on Rails app and I'm trying to find an easy way to find the hostname / IP address on the box I'm on (since it's a virtual machine). Could someone tell me if there's an easy way to do this in Ruby on Rails?

    ITKE350,405 pointsBadges:
  • Creating Microsoft Word documents in Ruby-on-Rails while using Linux

    Is there an easy way to create Word documents (.docx) in a Ruby-on-Rails application when using Linux? A gem similar to Prawn but for DOCX instead of PDF would be great!

    ITKE350,405 pointsBadges:
  • Apple Mac Air and Ruby on Rails

    Where can I find explicit instructions on how to install Ruby on Rails on an Apple Mac Air that runs Snow Leopard 10.6.5?

    0 pointsBadges:
1

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following