For issues specific to version 4 of Rails.
How do I generate a random number between 0 and n?
ruby-on-rails ruby ruby-on-rails-3 ruby-on-rails-4 randomWhere can I find a list of data types that can be used in Ruby on Rails 4? Such as text …
ruby-on-rails ruby ruby-on-rails-4 rails-activerecordA user has many uploads. I want to add a column to the uploads table that references the user. What …
ruby-on-rails ruby-on-rails-4 rails-activerecord rails-migrationsEvery time I run my rails 4.0 server, I get this output. Started GET "/" for 127.0.0.1 at 2013-11-06 23:56:36 -0500 PG::ConnectionBad …
ruby-on-rails ruby ruby-on-rails-4 database-connection pgI'm setting Rails 4 application with Ruby 2.0, but I'm getting "Web application could not be started" and get this trace: cannot …
rubygems ruby-on-rails-4 passenger ruby-2.0The default Rails 4 project generator now creates the directory "concerns" under controllers and models. I have found some explanations about …
ruby-on-rails ruby-on-rails-4 dcidatabase.yml: # SQLite version 3.x # gem install sqlite3 # # Ensure the SQLite 3 gem is defined in your Gemfile # gem 'sqlite3' …
postgresql ruby-on-rails-4I ran into an issue in my Rails 4 app while trying to organize JS files "the rails way". They were …
javascript jquery ruby-on-rails-4 asset-pipeline turbolinksI created a Rails application, using Rails 4.1, from scratch and I am facing a strange problem that I am not …
ruby-on-rails ruby heroku ruby-on-rails-4There's a strange issue with Rails 4 on Heroku. When images are compiled they have hashes added to them, yet the …
ruby-on-rails heroku ruby-on-rails-4