Ruby on rails: singular resource and form_for

Unfortunately, this is a bug. You’ll have to set the url like you mention. = form_for @order, :url => order_path do |f| Note that this will properly route to create or update depending on whether @order is persisted. Update There’s another option now. You can add this to your routes config: resolve(“Order”) { [:order] } … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)