Well, I’ve managed to break my app again today – getting the following error message: ActionController::RedirectBackError in OrdersController#new No HTTP_REFERER was…
Just another one of those things that I find myself needing to do from time to time. Luckily this is all pretty straight forward (thankyou Ruby on Rails!). Assuming…
Just another quick problem I ran into, the validation was indicating that an error had occurred however it did not show what the error was: 1 error prohibited this…
Just a quick post on how to view a table’s structure in SQLite3. Again, not something I’ve broken yet – more something I seem to keep forgetting. Simply start Sqlite:…
This is a problem that had me confused for an embarrassingly long time. Rails wraps button_to elements within a form and a div. Unfortunately this will take up 100%…
Well, looks like the first thing I’ve managed to break today is WEBrick – a web server for ruby on rails. The general idea behind the error message appears to be that…
I ran into a fairly common routing error this morning, thankfully these are fairly easy to fix – usually! Routing Error No route matches [POST] “/orders/new” Simply…
Not really something that I’ve broken (yet), but definitely something I found useful when starting out with rails – how to view all tables: Start Sqlite3 i.e.…