search for: newarchitecture

Displaying 1 result from an estimated 1 matches for "newarchitecture".

Did you mean: getarchitecture
2010 Jul 19
2
newbie, reciving a hash from the view
...gt; <%=key.to_s%> <%=check_box(key, value, {}, true, false) %> <%end%></p> in the controller before_filter loadArchitectures #here load @architectures def create if request.post? begin @architectures.each do |key, value| if value newArchitecture=Architecture.new() newArchitecture.nombre=clave newArchitecture.project_id=@project.id newArchitecture.save end end But when i see the values of @architectures after request.post? they are the originals values. Some help please (and...