search for: webadminevaluationfigureinput

Displaying 2 results from an estimated 2 matches for "webadminevaluationfigureinput".

2006 Apr 18
2
Connecting to multiple databases with multiple database users
...not to clash (although I think this should be possible to solve using modules, then again I don''t know about how models behave in different modules). The Controllers referencing those models would need to declare precisely which model class they refer to. WebadminController would refer to WebadminEvaluationFigureInput and CustomerController would refer to CustomerEvaluationFigureInput thus using the same table with a different db connection. I am aware that this is not really DRY, but I also don''t know which implications on the number of open db connections the other 2 possibilities would have, if any....
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