Top "Ruby-on-rails-3.2" questions

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

Bundler could not find compatible versions for gem, updating Rails app

After createing a brand new rails app Following the official rails blog post, attempting to convert apps to rails 3.2.0.rc2 …

ruby-on-rails ruby ruby-1.9.3 ruby-on-rails-3.2
Factory already registered: user (FactoryGirl::DuplicateDefinitionError)

Description of problem: - I've setup factory_girl_rails however whenever I try and load a factory it's trying to …

ruby-on-rails factory-bot ruby-on-rails-3.2
Uploading a remote file url from Rails Console with Carrierwave

I just wanted to know how one would go about uploading a remote file url using Carrierwave in the Rails …

ruby-on-rails ruby-on-rails-3.2 carrierwave
Sending files to a Rails JSON API

I know there are questions similar to this one, but I've not found a good answer yet. What I need …

ruby-on-rails json ruby-on-rails-3.2
ruby on rails how to deal with NaN

I have read few posts regarding NaN but did not figure out how to deal with it in Ruby on …

ruby-on-rails ruby ruby-on-rails-3 ruby-on-rails-3.2 ruby-on-rails-3.1
Rails: Too Few Arguments

I am trying to get some Javascript working in my Rails app. I want to have my index page allow …

ruby-on-rails ruby-on-rails-3 controller ruby-on-rails-3.2
Rails 3.2 undefined method `key?' for nil:NilClass

For some reason I started to get this error after switching to Rails 3.2. I guess it has something to do …

ruby-on-rails plugins ruby-on-rails-3.2 nomethoderror
No secret option provided to Rack::Session::Cookie warning?

I am running Rails 3.2.3, Ruby 1.9 under Fedora 17. I get this warning, when I run rails s, and how do I …

ruby-on-rails ruby-on-rails-3.2
Adding index :unique to a column in ruby on rails via generate migration

I know that i can touch a migration and add add_index :table_name, :column_name, :unique => true But …

ruby-on-rails database ruby-on-rails-3.2 migration
Rspec: Stub method that is in the controller

May I know how to stub method that is in the controller create method? I need to write the spec …

ruby-on-rails rspec ruby-on-rails-3.2 mocking stub