Matt,

From the real_estate_form_topics index page, the first (typical) selection is to:

/real_estate_form_topics/1-buyer-s-contracts

when I looked at routes, this pointed to the show method of the topics controller. I implemented that and it got me to the right place to hook into the list of forms.

Your question pointed me in the right direction to solve the problem.

Many Thanks!

Don  Z.



On 5/21/2011 7:28 PM, Matt Jones wrote:
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