On May 19, 2011, at 7:18 PM, Donald R. Ziesig wrote:

> Hi All:
> 
> I have a working auto_actions_for as in:
> 
> class RealEstateFormsController < ApplicationController
> 
>   hobo_model_controller
> 
>   auto_actions :all
> 
>   auto_actions_for :real_estate_form_topic, [:create]
>   
>   downloads_files_for :real_estate_form, :documents
>   
> end
> 
> The only problem is that I can't seem to find an access point so that I can 
> interface with <table-plus>'s sort and search functions on the real estate 
> forms themselves (the real_estate_form_topics interface with their own 
> <table-plus> stuff like they are supposed to (see below).
> 
> I have tried methods such as index_for_real_estate_form, 
> create_for_real_estate_form, index_for_real_estate_form_topic, 
> create_for_real_estate_form_topic, just plain index and create, and enough 
> others that I can't remember them all in the RealEstateFormsController but 
> the methods are never called.

Hmm - are you trying to get the action to respond to URLs like:

/real_estate_form_topics/:real_estate_form_topic_id/real_estate_form

or

/real_estate_forms

The former should be defined by index_for_real_estate_form_topic (check the 
logs to be sure), the latter by just index. I'm not sure what will happen in 
the former case since you don't have the corresponding auto_action_for 
defined...

--Matt Jones

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