Displaying 1 result from an estimated 1 matches for "list_albums".
2007 May 12
4
help, 1 error(s) on assignment of multiparameter attributes
...start_year
=> 1960) %><br />
....
and inside the controller:
def edit_album
@album = Album.find(params[''id''])
end
def proccess_edit_album
@album = Album.find(params[:id])
@album.update_attributes(params[:album])
if 1
redirect_to :action=> ''list_albums''
else
render :action => ''edit_album'', :id=>params[''id'']
end
end
but it gives me an error message, i dont get why, and i can''t seem to
find a fix to it.
Can anyone help me? I''ll appreciate it! ;)
--~--~---------~--~----...