9 Posts in Ruby
Quick Tip: Routes for a Non-Resourceful Rails Controller
Let’s say you have a few routes that are all related, but don’t really map to the usual resources. For example, a login/logout controller named SessionsController doesn’t really fit the usual resourceful route model. Head past the break for all the details.
Quick Tip: Parsing a Config String in Ruby
Recently I came across the need to parse a bit of a config file, in this kind of format: “Category=filetype;…” Here is how one would do such a thing using split, inject and map.
Getting Started with Ember.js Part 5: Deleting a Car and Wrapup
In the last post we set up the new car view. In the final post let’s add the ability to delete a car and wrap up this series.
Getting Started with Ember.js Part 4: Creating a New Car
In the last post, we set up a show and edit view. Let’s set up a view that allows for adding new cars.