Commit Graph

75 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
Ross Kaffenberger 4c2c09ca69 Rename instance method update_counter_cache => update_impressionist_counter_cache 2012-03-19 14:33:19 -04:00
Ross Kaffenberger 380f49cf62 namespace impressionable model module class methods with 'impressionist_' 2012-03-19 14:31:05 -04:00
John McAliley 594889a3db bumped patch version 2012-03-15 13:21:21 -04:00
John McAliley b01e40d7b5 use the engine root instead of relative path. the path was not found 2012-03-15 13:16:15 -04:00
Tute Costa 14067b0164 Requiring generic model code. 2012-03-15 09:42:32 -03:00
Erik Michaels-Ober 07024963ab Version bump to 1.1.0 2012-03-14 00:44:19 -06: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
Tute Costa d1f1a352d4 Removing useless files/folders. 2012-03-12 17:27:26 -03:00
Erik Michaels-Ober 8ab6fadf0b Replace Jeweler with Bundler::GemHelper.install_tasks
Jeweler is an unnecessary abstraction of the Gem::Specification DSL.
2012-03-06 14:55:02 -08: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 a96aebfb64 Change the require so it is not dependent on File.dirname 2011-12-18 15:10:34 -05: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
Cory Schires aef6acc583 Move AR include into engine file. 2011-11-04 10:27:13 -05: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 68298065fd change PATH variable to IMPRESSIONIST_PATH. PATH used by Rails 2011-02-15 12:08:35 -05:00
cowboycoded 0348a2a9c0 change back to module. causing problems in dev with reopen implementation 2011-02-13 14:16:12 -05:00
cowboycoded 22e83c58ba add indexes to impressions table 2011-02-11 22:23:33 -05:00
cowboycoded ec1b40487d simply reopen ApplicationController instead of using include/extend. As long as the file is not named "application_controller.rb", then it will load. Rails does not load files from engine /app that have the same name as files in container application /app dir 2011-02-04 10:13:27 -05:00
cowboycoded 755bd937da first commit 2011-02-03 23:13:41 -05:00