On Jan 4, 2010, at 10:06 PM, François Beausoleil wrote:
Hi all! NOTE: all inline code below also viewable at https://gist.github.com/596e7e9992f42fba9b2d I have some models (Person, Company, Events, etc). Some show fields on edit, others don't. I'm really flabbergasted at what's going on here. Company shows the form just fine, while Event and Person don't. And I really am browsing http://localhost:3000/people/1/edit and http://localhost:3000/companies/1/edit.
Can you post / gist some of the controller code? The two checks that could be eating the entire form (from rapid_forms.dryml) are:
- can_edit? on the object. This seems unlikely, as it hits the permission methods you've defined and should give the same results.
- object_url(target, nil, :method => 'put') is somehow returning nil. This can happen if the controller action isn't declared.
--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.
