Good talk.
On Oct 14, 2:30 pm, Ryan Angilly <[email protected]> wrote: > And I do know that I can just replace this partial in my > RAILS_ROOT/app/view/etc , but I was thinking it would be beneficial for a > more standard way to change the default (by setting a variable somewhere, > for example). > > Thanks, > Ryan > > On Wed, Oct 14, 2009 at 2:28 PM, Ryan <[email protected]> wrote: > > Hey guys, > > > I have a rather hefty table that I want to do a full text search on. > > I have a ThinkingSphinx database setup for our user-land searches, and > > I was struggling w/ augmenting the finder logic in ActiveScaffold so > > that our admins could benefit from that as well. It just dawned on me > > I could just do this:http://gist.github.com/210295 > > > The problem I'm now running into is the fact that default/views/ > > _list_pagination_links.html.erb hardcodes the action name when > > generating its links: > > > <% pagination_params = params_for(:action => 'update_table') -%> > > > I'd like to make this action not hardcoded, but I'm struggling finding > > the right place to put this option in the AS code. Can someone point > > me in the right direction to how I can make this patch? (Or if I've > > missed some other solution to creating custom pagination links?) > > > Thanks, > > Ryan > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
