El Sunday 22 March 2009 08:17:18 Wes Gamble escribió:
> All,
>
> Rails 2.1
> AS 2.1
>
> I have a fairly complex custom find call that I need to do in some
> instances for an AS index view.  conditions_for_collection will only
> handle conditions, correct?  Is there any hook so that I can provide
> other find options like :joins or :limit?
>

You can define an active_scaffold_joins method, like 
active_scaffold_conditions, and you can set the limit in your controller AS 
config:
config.list.per_page
http://wiki.github.com/activescaffold/active_scaffold/api-list
-- 
Sergio Cambra .:: entreCables S.L. ::.
Nicolás Guillén 6, locales 2 y 3. 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

  • co... Wes Gamble
    • ... Kenny Ortmann
      • ... Kenny Ortmann
      • ... Wes Gamble
    • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.
      • ... Wes Gamble
        • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.
          • ... Wes Gamble
            • ... Wes Gamble
              • ... Wes Gamble
                • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.
                • ... Mukund
                • ... Wes Gamble
                • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.
                • ... Wes Gamble

Reply via email to