Commit Graph

12 Commits

Author SHA1 Message Date
JGW Maxwell 7ab364c7eb Mongoid functionality working for Mongoid 3.0, haven't got to grips with the tests yet, so will push those in next commit 2012-07-11 02:42:43 +01:00
Adam Ferguson a773a4d366 Add compound index on impressionable_type, message, impressionable_id 2012-04-03 15:23:14 -04:00
Tute Costa 1c3f809da8 Moves ORM specific code to lib/impressionist/:orm/models. Adds mongo_mapper models.
Adds config/initializers/impression.rb file on install.
2012-03-12 19:54:29 -03:00
Tute Costa ecb95519ec Impressionist generator now accepts --orm option (defaults to active_record). 2012-03-12 18:19:29 -03:00
Tute Costa 6a15cbaf3e Dropping a table automatically drops it's indexes. 2012-03-12 17:30:12 -03:00
Erik Michaels-Ober 1174647779 Cleanup trailing whitespace
Trailing whitespace isn't friendly to git or vim users.
2012-03-06 14:04:32 -08:00
John McAliley f0d1288b2d change session_hash from text to string 2011-11-30 12:10:27 -05:00
Cory Schires 345f917d4a Use `text` columns rather than `string` in generated migration. 2011-11-27 16:54:33 -06:00
John McAliley ae5ae23e1c Add referrer to impression model.
remove unused features dir.
2011-06-03 11:52:42 -04:00
cowboycoded 405d376366 add session_hash to impression model
changed migration template
added upgrade migration template
added unique_impression_count_session to impressionable model
fixed controller_spec
2011-03-06 23:22:39 -05:00
cowboycoded 22e83c58ba add indexes to impressions table 2011-02-11 22:23:33 -05:00
cowboycoded 755bd937da first commit 2011-02-03 23:13:41 -05:00