Unfortunately no, it appears that this is not the solution in this
scenario.

Let me give the real code here:

#### MODELS ####
class PropertyType < ActiveRecord::Base
  hobo_model # Don't put anything above this
  fields do
    # FIELDS
  end
  has_many :properties
  children :properties
end

class Property < ActiveRecord::Base
  hobo_model # Don't put anything above this
  fields do
    # FIELDS
  end
  belongs_to :property_type # <------------ child of PropertyType
  belongs_to :user
  has_many :property_images, :dependent => :destroy
  belongs_to :city
  belongs_to :county
  belongs_to :township
  has_many :rooms
  children :property_images, :rooms
end
#### END MODELS ####

So, if I try this in either of the controllers it simply will not
produce any visible results on the properties new page.



On Jun 26, 6:27 pm, Bob Sleys <[email protected]> wrote:
> You have the auto_actions for on the wrong controller
>
> class ThingController
>   auto_actions_for :Parent, [:index, :new, :create]
> end
>
> I believe what you need is the above.

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