I have a <table-plus> defined on a separate page, with conditions
applied within, i.e. My controller contains:

@version = Version.find(:all, :joins => :status, :conditions =>
{ :statuses => {:name => 'Finished'}}, :order => 'versions.created_at
DESC', :limit => 50)

and the dryml code -

<table-plus with="&@version" fields="application, application.owner,
created_at" without-search-form>
<empty-message:>There are no applications</empty-message:>

</table-plus>

This works fine as is.........

I need the :conditions to be applied, but I also want to be able to
search the table - sorting is not soo important, but I really want to
implement the Search function, but do not know how to implement
apply_scopes in this context, and cannot find any combined examples
such as this?

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en.

Reply via email to