Displaying 2 results from an estimated 2 matches for "ca_quest".
Did you mean:
aquest
2006 Jun 17
0
Dynamic forms containing collections
...anyone
had any tips for me!!
If I didn''t make myself clear with this post, please tell me so! I
will try to explain my problem better if necessary!
Here is the code I''m struggling with. Particularly the "else" path is
the one not working.
<% for @name in @question.ca_question.ca_figure_input_column_names %>
<% @history_size = #fetch size %>
<% @model_name = #fetch name %>
<% @model_id_name = @model_name.classify.to_s.downcase %>
<% @field_name = @name.input_column_name %>
<% if @history_size == 1 %>
<% @id = @mode...
2006 Apr 18
7
Connecting to multiple databases
...longs_to :user
has_many :communal_audits
def initialize
super
#...
end
end
class WebadminController < 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