Displaying 2 results from an estimated 2 matches for "magic_method".
2007 Nov 16
3
Route Information
Is there a method to return a hash of the route configuration based on
a path?
For example:
magic_method(''/my_controller/my_action/my_id'')
=>
{:controller => ''my_controller'', :action => ''my_action'', :id =>
''my_id''}
Thanks!
Tom
--~--~---------~--~----~------------~-------~--~----~
You received this message because you...
2006 Jan 11
17
Different Types of Users and User Engine
My question is how have people implemented different types of users in
their Web applications using user-engine?
As for my application, I use single table inheritance in order to derive
several different types of users, such as "moderators," "editors," etc
...
For example, let''s say that I want to create a moderator. I define a new
moderator class and Controller like