Top "Ruby-on-rails-3" questions

Ruby on Rails is an open-source web development framework written in Ruby.

Checking if a variable is an integer

Does Rails 3 or Ruby have a built-in way to check if a variable is an integer? For example, 1.is_an_…

ruby ruby-on-rails-3
How do you manually execute SQL commands in Ruby On Rails using NuoDB

I'm trying to manually execute SQL commands so I can access procedures in NuoDB. I'm using Ruby on Rails and …

sql ruby-on-rails-3 activerecord nuodb
Rails - How to use a Helper Inside a Controller

While I realize you are supposed to use a helper inside a view, I need a helper in my controller …

ruby-on-rails ruby-on-rails-3 ruby-on-rails-5
How to run a single RSpec test?

I have the following file: /spec/controllers/groups_controller_spec.rb What command in terminal do I use to run …

ruby-on-rails ruby ruby-on-rails-3 rspec
How to have a drop down <select> field in a rails form?

I am creating a scaffold - rails g scaffold Contact email:string email_provider:string but I want the email …

ruby-on-rails ruby-on-rails-3 drop-down-menu input selectlist
Change a column type from Date to DateTime during ROR migration

I need to change my column type from date to datetime for an app I am making. I don't care …

mysql ruby-on-rails ruby ruby-on-rails-3 migration
How to empty a Heroku database

I'm working on a Ruby on Rails 3 webapp on Heroku. How do I empty the database?

ruby-on-rails-3 heroku
Rails update_attributes without save?

Is there an alternative to update_attributes that does not save the record? So I could do something like: @car = …

ruby-on-rails ruby ruby-on-rails-3 ruby-on-rails-4 rails-activerecord
Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432?

Before anything, please note that I have found several similar questions on Stack Overflow and articles all over the web, …

ruby-on-rails ruby postgresql ruby-on-rails-3 ruby-on-rails-4
rmagick gem install "Can't find Magick-config"

I get the error shown below when attempting to install the rmagick gem. I am on Snowleopard 10.6 using RVM, Ruby 1.9.2…

ruby-on-rails-3 rubygems imagemagick rvm rmagick