Including AJAX in Rails views.
Recently in a Rails app, I ran into a strange bug.
In this app, we had users...
In Rails we have these nice things we can use in our controllers called...
Specifying your domain model associations in Rails is all done in Ruby and...
Now conditional logic asks questions, which sucks, but its always still in...
Here’s one that might get you Rails developers:
class Comment <...
Occasionally when developing an app you have to break out an enumeration. ...
On a sidebar in the latest edition of Agile Web
Development
I noticed...
Most of the time in my tests I mock out all external resources, e.g. file...
A common Ruby/Rails idiom used in views looks like the following:
<% if...