I can make a new , and that seems to work. But edit/update does not.
My controller :
def edit
@admin_wysi = AdminWysi.find(params[:id])
end
def update
@admin_wysi = AdminWysi.find(params[:id])
if @admin_wysi.update_attributes(params[:admin_wysis])
redirect_to admin_admin_wysis_path
end
end
And my HAML..
- form_for @admin_wysi, :url => admin_admin_wysis_path do |f|
= f.cktext_area :post_published, :cols => '70', :rows => '30', :width => '555px', :height => '240px', :toolbar => 'HQ'
= f.submit 'Update', {:class => 'button'}
This is literally copy and pasted practically from my "new", so I'm guessing the problem HAS to be from my controller. Also there are no errors, and the SQL is identical in its injections as it was with the 'new'.
Thanks a bazillion everyone.