Displaying 1 result from an estimated 1 matches for "arts_ev".
Did you mean:
arts_ok
2005 Dec 16
0
More HABTM Save Problems/Issues.. bugs?
...;>
<input type="hidden" name="event[art_ids][]" value="2">
<input type="hidden" name="event[art_ids][]" value="3">
finally my controller, when I attempt to save the object it doesn''t
save the 3 join rows in the arts_events table (even though they do
exist in the object), my save method looks like:
def add
@event = Event.new( params[:event] )
@event.user = @session[:user]
if @request.post? and @event.save
redirect_to :action=>:view, :id=>@event.id
end
end
the odd thing is, is when I access...