Ruby on Rails Tutorial Part 2 - CRUD Basics with the Rails Console
Why Stack Overflow recommends it
Stack Overflow users cite it as the beginner tutorial they were following when they hit console and setup errors with newer Ruby and Rails versions.
Recommended by 0 people across 0 different months, 2014 to 2015.
What it is
A short screencast tutorial from 2011 that introduces CRUD operations (create, read, update, delete) using the Rails console. The presenter works in Rails 3.1 and Ruby 1.9.2 on Linux and walks through the basics step by step.
What people said
Cites user3744892 · 2014-06 · Stack Overflow · on “unable to start rails console”
I'm new to ruby and tried following what this tutorial ( [this video] ) said but I'm having problem with the console. I'm running a linuxmint 17 and this are my specs Ruby version 2.1.2-p95 (x86_64-linux) RubyGems version 2.2.2 Rack version 1.5 Rails version 4.1.1 JavaScript Runtime Node.js (V8) I have tried : spring stop bundle install whenever I run rails c this happens: Loading development environment (Rails 4.1.1) load error: /home/hanwai/.rvm/rubies/ruby-2.1.2/.irbrc NoMethodError: undefined method `split' for nil:NilClass /home/hanwai/.rvm/scripts/irbrc.rb:45:in `<top (required)>' /home/hanwai/.rvm/gems/ruby-2.1.2/gems/activesupport-4.1.1/lib/active_support/dependencies.rb:247:in `require'
Cites cs-nerd · 2014-07 · Stack Overflow · on “What is wrong with my config/routes.rb file?”
I'm using the ruby 2.1.2p95 version, and I'm running into some problems following directions to this tutorial ( [LINK] ) on creating a blog. I followed exactly what the tutorial said, up until the step "Setting up the router." Once I open config/router.rb, the first line in my document is "Rails.application.routes.draw do," not "Blogger::Application.routes.draw do." The reason I'm asking is in the tutorial on Jump Start Lab, after I continued to the "Creating Template Step," I received a different error message from "Template missing...". I got "Unknown actions...", and eventually, I couldn't view the index page. I also looked at another tutorial on Youtube ( [this video] ), and I got the same pr
Cites mudbone2.0 · 2015-01 · Stack Overflow · on “Rails Console is not working”
Hey @xlembouras. Sure.. I did install ruby and rails via RVM. I done this through a youtube video, this one I think ( [LINK] ) ... I have been following this tutorial on how to create a blog and got to the 2nd lesson where the rails c command didnt work. These are the tutorials: ( [this video] ) ( [LINK] ) ... RVM -v is rvm 1.26.7 (latest) by Wayne E. Seguin , Michal Papis [ [LINK] ]... Ruby -v = ruby 1.9.3p484 (2013-11-22 revision 43786) [i686-linux]ubuntu .. Rails -v: Rails 3.2.16.