Top "Ruby-on-rails-3.2" questions

Ruby on Rails version 3.2.0 released at January 20, 2012.

Rendering JSON in controller

I was reading a book and in a chapter about Controllers when it talks about rendering stuff, for JSON it …

ruby-on-rails json ruby-on-rails-3.2
rails generate model

I'm trying to follow instructions from the book "Head First Rails" and on page 50 it says to create a model …

ruby-on-rails ruby-on-rails-3.2
Server is already running in Rails

When I am starting rails server using rails s command it is showing A server is already running. Check C:/…

ruby-on-rails ruby-on-rails-3.2 command-prompt webrick
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
How to use Eclipse for Ruby on Rails (RoR)

I am new in Ruby. I have installed Ruby on Rails on Windows 7. I visited the following to choose a …

ruby eclipse eclipse-plugin ruby-on-rails-3.2
Using Rails link_to for links that post

I have a link that I need to submit a post request with. Normally, I'd use jQuery and prevent the …

ruby-on-rails ruby-on-rails-3 post ruby-on-rails-3.2 link-to
How to display a Rails flash notice upon redirect?

I have the following code in a Rails controller: flash.now[:notice] = 'Successfully checked in' redirect_to check_in_path …

ruby-on-rails ruby-on-rails-3 ruby-on-rails-3.2 ruby-on-rails-4 rails-flash
Use rvmrc or ruby-version file to set a project gemset with RVM?

I use RVM, the Ruby Version Manager to specify a Ruby version and a set of gems for each of …

ruby-on-rails ruby-on-rails-3 ruby-on-rails-3.2 rvm rvmrc
How to add confirm message with link_to Ruby on rails

I wanted to add confirmation message on link_to function with Ruby. = link_to 'Reset message', :action=>'reset' ,:confirm=&…

ruby ruby-on-rails-3 ruby-on-rails-3.1 ruby-on-rails-3.2 link-to
Rails: Custom text for rails form_for label

I want to display a label in form_for: <div class="field"> <%= f.label :name %><…

ruby-on-rails ruby ruby-on-rails-3.2 form-for