Displaying 3 results from an estimated 3 matches for "gamsl".
Did you mean:
gams
2006 Apr 17
0
One model class per file?
...ata.rb
web_ca_user_sandbox_base.rb
All those *.rb files rails is trying to load, correspond to the model
classes I created following the naming conventions. Is there any way
to tell rails NOT to search for a model class in its own file? Or am I
simply not getting something :-)
thx in advance!
gamsl
2006 Apr 18
7
Connecting to multiple databases
...adminController < ApplicationController
#scaffold :community
helper :ModelSecurity
model :year,
:community,
:communal_audit,
:ca_module,
:ca_figure,
:ca_question
public
def new_community
@community = Community.new
# ....
end
end
cheers
gamsl
2006 Apr 18
2
Connecting to multiple databases with multiple database users
...connections needed by
rails (development, test, production sections in the yml) that just
don''t really make sense in such a setting?
PLEASE also read my last posting on Connecting to multiple databases.
I still haven''t solved this problem ...
Many many thx for taking the time!
gamsl