Top "Ruby-on-rails-3" questions

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

Adding :default => true to boolean in existing Rails column

I've seen a few questions (namely this one) here on SO about adding a default boolean value to an existing …

ruby-on-rails-3 migration
How to delete migration files in Rails 3

I would like to remove/delete a migration file. How would I go about doing that? I know there are …

ruby-on-rails ruby-on-rails-3 file-io
What is the best way to uninstall gems from a rails3 project?

I installed all of my gems using bundler via the Gemfile. I thought (mistakenly) that if I deleted a gem …

ruby-on-rails-3 uninstallation bundler
Check if record exists from controller in Rails

In my app a User can create a Business. When they trigger the index action in my BusinessesController I want …

ruby-on-rails ruby-on-rails-3 activerecord exists
No route matches "/users/sign_out" devise rails 3

I've installed devise on my app and applied the following in my application.html.erb file: <div id="user_…

ruby-on-rails ruby-on-rails-3 devise routes
How do I fix the "You don't have write permissions into the /usr/bin directory" error when installing Rails?

I'm trying to install Rails 3 on a brand new MacBook Pro running OS X 10.6.3, Ruby 1.8.7, and Rails 2.3.5 and I'm wondering …

ruby-on-rails-3
rake assets:precompile RAILS_ENV=production not working as required

I am trying to precompile assets using the command rake assets:precompile RAILS_ENV=production, but I always get the …

ruby-on-rails ruby-on-rails-3 ruby-on-rails-3.2 asset-pipeline precompile
rails simple_form - hidden field - create?

How can you have a hidden field with simple form? The following code: = simple_form_for @movie do |f| = f.…

ruby-on-rails ruby-on-rails-3 form-for hidden-field simple-form
incompatible character encodings: ASCII-8BIT and UTF-8

I use Ruby 1.9.2 and Rails 3.0.5 I have the following error: incompatible character encodings: ASCII-8BIT and UTF-8 It has nothing …

ruby-on-rails ruby ruby-on-rails-3 haml
Rails 3: I want to list all paths defined in my rails application

I want to list all defined helper path functions (that are created from routes) in my rails 3 application, if that …

ruby-on-rails ruby-on-rails-3 routes