RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: zeallous
I'm trying to follow the instructions of the video. I executed the commands as required:
rails new store
rails g scaffold product name price:decimal --skip-stylesheets
rails g bootstrap:install
rails g bootstrap:themed products -f
of course I also put the twitter-bootstrap-rails gem into the gemfile
but when I run localhost:3000/products I get this (from the terminal where I run the server)
Started GET "/products" for 127.0.0.1 at 2013-06-29 16:06:39 +0800
Processing by ProductsController#index as HTML
Product Load (0.1ms) SELECT "products".* FROM "products"
Rendered products/index.html.erb within layouts/application (18.3ms)
WARN: tilt autoloading 'less' in a non thread-safe way; explicit require 'less' suggested.
Completed 500 Internal Server Error in 69ms
ActionView::Template::Error (cannot load such file -- less
5: <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
7: <%= csrf_meta_tags %>
says cannot load the less file
i've solved it thanks. Thanks to Raison D'souza's comment
Hi I keep getting:
NoMethodError in SessionsController#create
undefined method `' for nil:NilClass
This appears after I logged into Twitter and before redirecting back to the callback page.