Permalink
Commits on Dec 16, 2013
  1. Merge pull request #4 from elguapo1611/update_readme

    updated readme
    committed Dec 16, 2013
Commits on Oct 29, 2013
  1. Make sure associations still return an empty Array even if autoload_a…

    …ssociations is disabled
    committed Oct 29, 2013
Commits on Oct 28, 2013
  1. classify already singularizes

    committed Oct 28, 2013
Commits on Oct 25, 2013
Commits on Oct 24, 2013
  1. Created a class macro to be able to set rather than having to overrid…

    …e the method, purely for aesthetic reasons :)
    committed Oct 24, 2013
Commits on Oct 22, 2013
  1. Version bump

    committed Oct 22, 2013
  2. Added support for namespaces as well as setting the class_name for an…

    … association to anything you want. Added method documentation.
    committed Oct 22, 2013
Commits on Oct 21, 2013
  1. Bump ruby version

    committed Oct 21, 2013
Commits on May 9, 2013
Commits on May 7, 2013
  1. Classify already calls singularize, calling it twice causes errors wi…

    …th certain strings
    committed May 7, 2013
Commits on Apr 30, 2013
  1. Don't override to_json so that users of the library can just use Obje…

    …ct.to_json, or override it themselves if they wish. Initialize all attributes instance variables to nil so they are returned as null by to_json.
    committed Apr 30, 2013
Commits on Apr 29, 2013
  1. Values that do not map to an existing attribute should be ignored ins…

    …tead of set in an instance variable. Explicitly define a to_json so that only the attributes are returned.
    committed Apr 29, 2013
Commits on Apr 4, 2013
  1. Added Attribution::Model

    committed Apr 4, 2013
Commits on Mar 8, 2013
  1. Merge pull request #1 from albertlb/master

    Allow passing parameters to association "has many"
    committed Mar 8, 2013
Commits on Mar 7, 2013
  1. Handle missing values in the hash for date and time properly, by sett…

    …ing the attribute to nil if it is the year is missing, otherwise pass as many values to the constructor as there are non-blank values for
    committed Mar 7, 2013
  2. Handle nil properly

    committed Mar 7, 2013
Commits on Mar 1, 2013
Commits on Feb 27, 2013
Commits on Feb 22, 2013
  1. If the object doesn't have a setter matching the attribute name, just…

    … set an instance variable.
    committed Feb 22, 2013
Commits on Feb 20, 2013
  1. Initial commit

    committed Feb 20, 2013