Top "Railstutorial.org" questions

Questions and answers for Michael Hartl's railstutorial.

uninitialized constant ApplicationRecord

I am working on the rails tutorial book online and I am getting the following error message when I go …

ruby-on-rails ruby ruby-on-rails-4 localhost railstutorial.org
Rails Tutorial: nokogiri-1.5.2 error on bundle install

After working through the RVM setup, rspec and guard sections of chapter 3 of the Ruby on Rails Tutorial, whenever I …

ruby-on-rails rubygems nokogiri railstutorial.org
Rails Tutorial: SQLite3::ConstraintException: UNIQUE constraint failed: users.email

I'm following along with the rails tutorial. I'm on ch. 6 and I'm getting a strange error with SQLite3 (for the …

ruby-on-rails railstutorial.org
Excon::Errors::Forbidden (Expected(200) <=> Actual(403 Forbidden)

When I try to upload a picture to a "Car" object I'm denied access to S3. But the site images …

ruby-on-rails amazon-s3 carrierwave railstutorial.org
uninitialized constant Capybara (NameError) in rails app

c:/mowes/www/rails_projects/sample_app/spec/spec_helper.rb:4:in `block in ': uninitialized constant Capybara (NameError) spec/…

ruby-on-rails ruby-on-rails-4 railstutorial.org
Why "bundle install" a gem instead of "gem install" for a rails 3 app?

I'm a beginner programmer going through the railstutorial by michael hartl, and notice that the process for using gems in …

ruby-on-rails rubygems bundler railstutorial.org
Test for destroying associated records when object is destroyed failing in rails app

Im stuck on the test in listing 10.15 of Michael Hartls ruby on rails tutorial (http://ruby.railstutorial.org/chapters/user-microposts#…

ruby-on-rails rspec railstutorial.org
NoMethodError: undefined method `save' rails console

I'm learning RoR from ruby.railstutorial.org , i have created a model and when im trying to add data to …

ruby-on-rails railstutorial.org
Can I access Application Helper methods in a RSpec request?

Given I have a full_title method in ApplicationHelper module, how can I access it in a RSpec request spec? …

ruby-on-rails rspec railstutorial.org
Development.log log file isn't logging Rails SQL queries

I am following Michael Hartl's Rails Tutorial Here: http://ruby.railstutorial.org/chapters/modeling-and-viewing-users-one#top I use this command to …

ruby-on-rails ruby bash tail railstutorial.org