Displaying 1 result from an estimated 1 matches for "client_url".
Did you mean:
client_uri
2006 Dec 29
2
update_attributes fails: ReadOnlyRecord
I''m trying to update a record, but it just stops with
"ActiveRecord::ReadOnlyRecord". I don''t understand why, because I never
wanted my model to be read only. Relevant code:
Controller:
def edit
@project = find_project
if request.post?
@project.update_attributes(params[:project])
if @project.save
flash[:message] = _(''Project was