Tag Archive: Ruby
The War Room
The only fantasy sports site you will ever need. Millions of relevant posts aggregated into your own personalized FantasyFeed gives you an unfair advantage in your fantasy sports game.
Adding flash message capability to your render calls in Rails
Ruby on Rails 3.x has given us a lot of syntactical sugar. Most of it are pretty small things, things you might not even discover unless someone told…
Rails 3.1 and asset pipeline
When we heard the announcement of Ruby on Rails 3.1 RC, we agreed that we upgrade one of our internal applications and check out all of the new…
OAuth Disco – No fluff, just code
OAuth is really nice, but it can be quite confusing to get started with. If you’re the sort of person who likes to look at code instead of…
Correct PayPal IPN handling with Rails
While working with different PayPal payment APIs, I have read a lot of tutorials, library code and documentation about the given matter. While there are several quite competent…
Things you might not know about Ruby on Rails
I have been digging around the Rails source a lot since the last time I shared my discoveries. Seeing how popular the post was, I have collected a…
Advisory locking with ActiveRecord
Not too long ago we had a problem with doing (almost) guaranteed inserts for columns with unique constraints on them (see this post). Today I was facing a…
Learning new things about Ruby on Rails every day
Some neat tips and discoveries from the Ruby on Rails source, shared by Tanel Suurhans.
ActiveRecord method_missing with multiple inheritance
Recently I ran into a case where I had two separate “acts_as” style ActiveRecord model extensions which both abused respond_to? and method_missing to dynamically provide virtual attribute support.…