The create link is 
/users/new?_method=get&parent_column=klasses&parent_controller=klass&parent_id=67&parent_model=Klass

The create link in the Klass controller is disabled.
The create link in the Users controller is also disabled.

/S

Soren Christensen wrote:
> Hi,
>
> I have a list view of a Klasses which has links to various teaches, IA, 
> parent reps etc.
> All of those are done as Rail references with belong_to
>
> For the positions that are not filled AS offers "Create New".
>
> There must be a way to control the access level to this create.
>
> Wondering what it is.
>
> If I click it I get an error:
> Processing UsersController#new (for 76.247.187.116 at 2009-08-19 
> 15:00:32) [GET]  Parameters: {"parent_column"=>"klasses", 
> "action"=>"new", "_method"=>"get", "adapter"=>"_list_inline_adapter", 
> "controller"=>"users", "parent_id"=>"67", "parent_model"=>"Klass", 
> "parent_controller"=>"klass"}
>
> NoMethodError (undefined method `klasses=' for 
> #<User:0x2b807b7d58f8>):         
>
> >
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to