natew / obtvse

Deprecated: See natew/obtvse2
http://github.com/natew/obtvse2
MIT License
1.38k stars 261 forks source link

Rails Server Failure: NoMethodError in Posts#index #124

Closed ghost closed 11 years ago

ghost commented 11 years ago

After firing up the rails server I get the following error:

NoMethodError in Posts#index

Showing /Users/distortpdx/Sites/obtvse/app/views/layouts/application.html.erb where line #6 raised:

undefined method `empty?' for nil:NilClass (in /Users/distortpdx/Sites/obtvse/app/assets/stylesheets/posts.css.scss) Extracted source (around line #6):

3: 4: <%= html_title yield(:title) %> 5: <%= csrf_meta_tag %> 6: <%= stylesheet_link_tag 'application' %> 7: 8: 9:

How can I fix this??? Thanks!

ghost commented 11 years ago

Fixed. Not sure what I did. Everything's working smoothly now.

imgarylai commented 11 years ago

I also got this problem.

Showing /Users/gary/Documents/works/obtvse/app/views/layouts/admin.html.erb where line #6 raised:

undefined method `empty?' for nil:NilClass (in /Users/gary/Documents/works/obtvse/app/assets/stylesheets/posts.css.scss) Extracted source (around line #6):

3: 4: <%= html_title yield(:title) %> 5: <%= csrf_meta_tag %> 6: <%= stylesheet_link_tag 'application' %> 7: 8: 9: