Ok, I found solution it is :name_prefix
But I now have errors like
edit_somename_arch_note_url failed to generate from
{:controller=>"sysadmin/notes", :action=>"edit",
:id=>#<Somename::Arch::Note id: 2, body: "ddd", subject:
"fsd", user_id:
10022, object_id: 6, object_type: "Somename::Arch::Fruit", created_at:
"2010-10-29 11:18:09", updated_at: "2010-10-29
11:18:09">}, expected:
{:controller=>"/sysadmin/notes", :action=>"edit"},
diff:
{:controller=>"/sysadmin/notes", :id=>#<Smtpcom::Arch::Note
id: 2, body:
"ddd", subject: "fsd", user_id: 10022, object_id: 6,
object_type:
"Somename::Arch::Fruit", created_at: "2010-10-29 11:18:09",
updated_at:
"2010-10-29 11:18:09">}
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.