Displaying 2 results from an estimated 2 matches for "sublcass".
Did you mean:
subclass
2008 Mar 23
1
Object creation when the controller is a subclass of AdminController
...determined that the best way to handle administration of
a model that displays publicly but is administered privately is
through subclassing but I''ve run in to pathing issues (I think) when
trying to create an instance of my model.
Let''s say I have a Book, and BookController is a sublcass of
AdminController so that I can create and delete Books via an Admin
section. Everything is going smoothly, I''ve set up my resources so
that my controller falls under /admin but it seems to me like my "new
Book" form generates it''s action path for books, not Admin Book...
2006 Jun 01
4
What i do if i have a table with a column named "type"?
Hi everybody!
The class ActiveRecord::Base have a atribute named type and if my
table have a column with the same name i get an error if i use
model.finde, model.save and more...
I dont know what i can do to solve this problem!
Someone know?
Thanks
--
_________
Noel R. Morais