-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The model looks fine, I would check the controller (is the create action available?) and then the Dryml. Can you paste some code?
Regards, Ignacio El 16/01/12 10:57, JezC escribió: > Hi, in line with some of my other mistakes, I've stumbled into > something else I clearly haven't understood. I now have a model > where, in desperation, I have declared: > > ... belongs_to :owner, :class_name => "User", :creator => true ... > def create_permitted? true end > > def update_permitted? true end ... > > Yet still I can't get the "Create" button to show for either an > ordinary user or administrator for a "/model-name/new". What other > access controls or permissions might affect the display of the > Submit button for a new action? > > I'm building an example app to demonstrate the problem, without > giving away any business logic, partially as a way to explore > what's happening, and partially so I can offer it to you guys if it > helps troubleshoot! > > But I'm secretly hoping that one of you will just click their > fingers and tell me of either something I've overlooked, or a > technique to debug the permissions on a form... > - -- Ignacio Huerta Arteche http://www.ihuerta.net Teléfono: 0034 645 70 77 35 Email realizado con software libre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8UMR8ACgkQBPlUJ6RHaOQCDwCbBQ/SD3VYxjWDQwUkSt+AdRGH DxoAnAl59eURI7N4fPMnjiMh0UV2B6h0 =C+5P -----END PGP SIGNATURE----- -- 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.
