RailsCasts Pro episodes are now free!

Learn more or hide this

Oscar's Profile

GitHub User: tenzan

Site: http://discusstion.site

Comments by Oscar

Avatar

Can you please show how to display the reviews?
I can't figure out how to access embedded documents like reviews in this case...

Avatar

Adding:
*= require bootstrap_and_overrides
to the applications.css solved.
Stackoverlow

Avatar

Can anybody point me for which environment does this episode work for? Is it written somewhere?

Avatar

I'm using Rails 4.0.0.rc1 and ruby 1.9.3p392.

It seems this episode won't work for me.
I'm having errors:

LoadError in Products#index

Showing /home/askar/work/rails_studio/store/app/views/layouts/application.html.erb where line #5 raised:

cannot load such file -- less
(in /home/askar/work/rails_studio/store/app/assets/stylesheets/bootstrap_and_overrides.css.less)
Extracted source (around line #5):

2
3
4 Store
5 <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
6 <%= javascript_include_tag "application", "data-turbolinks-track" => true %>
7 <%= csrf_meta_tags %>
8

Rails.root: /home/askar/work/rails_studio/store

Application Trace | Framework Trace | Full Trace
app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb__3286420188203285275_35132680'

Avatar

I wonder why Ryan's code doesn't include them in Gemfile...

Avatar

Hi Ryan!

Any plans to revise this with Rails 4 ?