Top "Ruby-on-rails-4" questions

For issues specific to version 4 of Rails.

Rails 4: List of available datatypes

Where 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-activerecord
Add a reference column migration in Rails 4

A 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-migrations
PG::ConnectionBad - could not connect to server: Connection refused

Every 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 pg
cannot load such file -- bundler/setup (LoadError)

I'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.0
How to use concerns in Rails 4

The 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 dci
fe_sendauth: no password supplied

database.yml: # SQLite version 3.x # gem install sqlite3 # # Ensure the SQLite 3 gem is defined in your Gemfile # gem 'sqlite3' …

postgresql ruby-on-rails-4
Rails 4: how to use $(document).ready() with turbo-links

I 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 turbolinks
How to solve error "Missing `secret_key_base` for 'production' environment" (Rails 4.1)

I 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-4
Rails: How to reference images in CSS within Rails 4

There'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