search for: modelcontroller

Displaying 3 results from an estimated 3 matches for "modelcontroller".

2006 Apr 30
0
Best Practice [Display a list of items]
Hello, I would like to know what is the best practice to do the following common action. Display a list of items representing a modeI. I have FrontController which handle all the user actions coming from the web. I have Controller ModelController which handle actions related to the model. I want to display a list of items related on some model in the main page. Do I need to call the action from FrontController and delegate it to ModelController? , or call the ModelController directly from the web? Any Suggestions? Sharon. --------------...
2006 Jul 27
4
roles based authentication
hi! im trying to implement a role based authentication in my project, but im writing too many conditions, and i think thats not the right way to proceed. i have search in google, but there are a lot of plugins and "tutorials", and they are always not similar, so i dont understand them. please could someone help me? maybe with a easy authentication or with a good/nice tutorial?
2006 May 10
8
dynamic setting of username and password in database.yml
Hello I''ve now read a lot about application-level authentication in Rails, but I need to do database-level authentication. The reason is that my database needs to have the current_user (database current_user, not current_user defined in an ActiveRecord Model) set to execute triggers for automatically updating audit tables. So it is not enough to have a session check against a User