Porting Rails’ ActiveRecord find_by_attributes method to PHP

Ruby on Rails’ ActiveRecord class has some really neat features, none more so perhaps than the incredibly useful find_by_attributes┬ámethod. With object-oriented PHP programming we can bring that functionality to our PHP applications using PHP’s magic methods. Continue reading Porting Rails’ ActiveRecord find_by_attributes method to PHP