Created
September 6, 2013 13:10
-
-
Save maasdesigner/6463587 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NoMethodError in Refinery/pages#show | |
Showing /home/maasdesigner/Desktop/metroson/app/views/refinery/pages/show.html.erb where line #6 raised: | |
undefined method `large' for #<Refinery::Image:0xc879ab8> | |
Extracted source (around line #6): | |
3: <ul id='gallery'> | |
4: <% @page.images.each_with_index do |image, index| %> | |
5: <li> | |
6: <%= link_to image_tag(image.thumbnail("200x200#c").url), image.large("900x600").url %> | |
7: <span class='caption'><%=raw @page.caption_for_image_index(index) %></span> | |
8: </li> | |
9: <% end %> | |
Rails.root: /home/maasdesigner/Desktop/metroson | |
Application Trace | Framework Trace | Full Trace | |
app/views/refinery/pages/show.html.erb:6:in `block (2 levels) in _app_views_refinery_pages_show_html_erb___567819488_105193870' | |
app/views/refinery/pages/show.html.erb:4:in `block in _app_views_refinery_pages_show_html_erb___567819488_105193870' | |
app/views/refinery/pages/show.html.erb:2:in `_app_views_refinery_pages_show_html_erb___567819488_105193870' | |
Request | |
Parameters: | |
{"path"=>"doktorlarimiz", | |
"locale"=>:en, | |
"page"=>1} | |
Show session dump | |
Show env dump | |
Response | |
Headers: | |
None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% content_for :body_content_right do %> | |
<ul id='gallery'> | |
<% @page.images.each_with_index do |image, index| %> | |
<li> | |
<%= link_to image_tag(image.thumbnail("200x200#c").url), image.large("900x600").url %> | |
<span class='caption'><%=raw @page.caption_for_image_index(index) %></span> | |
</li> | |
<% end %> | |
</ul> | |
<% end %> | |
<%= render '/refinery/content_page', :hide_sections => :body_content_title %> | |
<%= render '/refinery/photo_gallery/albums/show' %> | |
<%= render '/refinery/contacts/contacts/show' %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment