joshuaclayton

Joshua Clayton
Fusionary Media
West Michigan
1
4
Plugin for querying by dates on ActiveRecord models
Created Sat Mar 15 13:44:00 -0700 2008
legend
Easy auditing (not versioning) of ActiveRecord models
Created Tue Jul 08 13:45:32 -0700 2008
legend
Plugin adding simple searching to ActiveRecord models
Created Sat Mar 15 13:39:25 -0700 2008
legend
Personal blog
Created Sat Mar 15 14:10:58 -0700 2008
legend

Following

Public Activity  feed

joshuaclayton committed to acts_as_archivable about 5 hours ago

3aced0f4f19de4f619a612a4af328996427b6236

Fixed AAA to use named_scope correctly

joshuaclayton committed to acts_as_archivable about 6 hours ago

dd4ee1b869606b7dafff3e54c70826610aa5ae5a

Updated to work within Rails 2.1, allowing for named_scopes; also fixed to_days method, making it an instance method on Numeric instead of Integer.

joshuaclayton updated gist: 1792 1 day ago
Here's a peek: # class User < ActiveRecord::Base # named_scope :active, :conditions => { :active => true } # named_scope :with_status, lambda {|*statuses| {:conditions => ["users.status IN (?)", statuses]}}
joshuaclayton updated gist: 1792 1 day ago
Here's a peek: # class User < ActiveRecord::Base # named_scope :active, :conditions => { :active => true } # named_scope :with_status, lambda {|*statuses| {:conditions => ["users.status IN (?)", statuses]}}
joshuaclayton updated gist: 1792 1 day ago
Here's a peek: module ActiveRecord module NamedScope module ClassMethods
joshuaclayton updated gist: 1792 1 day ago
Here's a peek: module ActiveRecord module NamedScope module ClassMethods
joshuaclayton updated gist: 1792 1 day ago
Here's a peek: module ActiveRecord module NamedScope module ClassMethods
joshuaclayton created gist: 1792 1 day ago
Here's a peek: module ActiveRecord module NamedScope module ClassMethods
joshuaclayton started watching kawaii 1 day ago
kawaii is at eviltrout/kawaii
joshuaclayton updated gist: 79 2 days ago
Here's a peek: require 'rubygems' # what about this?