Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jul 17, 2011
  1. @sikachu
  2. @sikachu

    Raise an ArgumentError if user passing less number of argument in the…

    sikachu authored
    … dynamic finder
    
    The previous behavior was unintentional, and some people was relying on it. Now the dynamic finder will always expecting the number of arguments to be equal or greater (so you can still pass the options to it.)
    
    So if you were doing this and expecting the second argument to be nil:
    
        User.find_by_username_and_group("sikachu")
    
    You'll now get `ArgumentError: wrong number of arguments (1 for 2).` You'll then have to do this:
    
        User.find_by_username_and_group("sikachu", nil)
Commits on May 15, 2011
  1. @sikachu

    Add ActiveRecord::attribute_names to retrieve a list of attribute nam…

    sikachu authored
    …es. This method will also return an empty array on an abstract class or a model that the table doesn't exists.
Commits on Aug 13, 2010
  1. @sikachu @tenderlove

    Removing most of the symbol to proc usage in Active Record

    sikachu authored tenderlove committed
    This will hopefully make Active Record run a bit more faster.
Commits on Feb 16, 2010
  1. @sikachu @josevalim

    Rename Rails::Subscriber to Rails::LogSubscriber

    sikachu authored josevalim committed
Something went wrong with that request. Please try again.