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 "activesupport"

I migrated to 3.2.13 version of rails and I am getting this error, how do I get rid of this? Fetching …

ruby-on-rails ruby-on-rails-3.2 activesupport
How can i remove a column from table using rails console

It is easily possible to remove a column using rails migration. class SomeClass < ActiveRecord::Migration def self.up remove_…

ruby-on-rails activerecord ruby-on-rails-3.2 rails-migrations
what is the difference between link_to, redirect_to, and render?

I am confused about the main difference(s) among link_to, redirect_to and render in Rails. anyone can please …

ruby-on-rails ruby ruby-on-rails-3 ruby-on-rails-3.1 ruby-on-rails-3.2
-bash: ruby: command not found

hyperrjas@serv1:~$ rbenv global 1.9.3-p392 hyperrjas@serv1:~$ rbenv local 1.9.3-p392 hyperrjas@serv1:~$ which ruby-build /usr/local/bin/ruby-build hyperrjas@serv1:~$ …

ruby-on-rails ruby ruby-on-rails-3 ruby-on-rails-3.2 rbenv
Difference between Render and Render Partial and Yield

I have read it from the Rails guides, Have looked at Micheal Hartel book and now reading it from Rails …

ruby-on-rails ruby-on-rails-3.2
How to download a CSV file in Ruby on Rails?

In my InvoicesController I have this: def index @invoices = current_user.invoices respond_to do |format| format.html format.xls …

ruby-on-rails ruby ruby-on-rails-3 csv ruby-on-rails-3.2
Use RbConfig instead of obsolete and deprecated Config

When I run my Rails app in WEBrick on Ubuntu, after upgrading to ruby-1.9.3-p327, I receive the following error: […

ruby ruby-on-rails-3.2 rubygems
Model.reset_column_information does not reload columns in rails migration

I'm using Rails 3.2 and have a migration that contains the code: add_column :users, :gift_aid, :integer, :default => 2 # reset …

ruby-on-rails activerecord migration rake ruby-on-rails-3.2
What is the purpose of vendor/bundle? Heroku tells me to remove it

Upon pushing some changes to Heroku, I noticed a warning about vendor/bundle (see WARNING below). What is the purpose …

ruby-on-rails heroku ruby-on-rails-3.2 bundler
haml by default

Is there a way to configure rails to use haml by default, i.e. when a scaffold is generated the …

ruby-on-rails haml ruby-on-rails-3.2