RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: lgs
Using elasticsearch with Heroku is now possible. See the following article :
I'd like to inform you that this cast (as well as some others)
seems to stop working around the minute 5.31 (just after introducing "Tagging Features And Scenarios" paragraph).
I don't think it's me, infact the effect is reproducible, even breaking at the same time and the newer casts are working fine ...
Keep on the good job
but doesn't seem to work anyway.
My last working gems matrix is :
as soon as I upgrade to mongoid 2.1.2,
kaminari '0.12.4' First/Previous/Next/Last in the view don't show up anymore ...
you're right, I wrongly used erb commenting syntax into haml environment. That's for app/views/kaminari/_paginator.html.haml ...
but what about
= link_to_unless current_page.first?, raw(t 'views.pagination.previous'), url, :rel => 'prev', :remote => remote
= link_to_unless current_page.first?, raw(t 'views.pagination.first'), url, :remote => remote
rispectively in :
How do you change them ?
= paginator.render do
= first_page_tag #unless current_page.first?
= prev_page_tag #unless current_page.first?
- each_page do |page|
- if page.left_outer? || page.right_outer? || page.inside_window?
= page_tag page
- elsif !page.was_truncated?
= next_page_tag #unless current_page.last?
= last_page_tag #unless current_page.last?
but it doesn't work :-(