11 Oct, 2013
1 commit
-
Rails 4 and Mongoid 4 dont have Observers anymore, so we should remove them to make easier future migrations
21 Aug, 2013
1 commit
-
I think the Observer Pattern in Model is too ackward and need to be avoid. This kind of stuff is delete on Rails 4 for example.
10 Mar, 2013
1 commit
-
Enable the identity map for Mongoid. This allows subsequent finds for the same object to skip the DB and use an in-memory store of all retrieved records. In many cases this reduces the number of DB queries from _hundreds_ to a few tens. This is particularly noticable when showing lists of problems. Previously each `problem.app` reference caused a Apo.find() using the `app_id`, now it's an in-memory lookup.
06 Mar, 2013
1 commit
08 Nov, 2012
1 commit
30 May, 2012
1 commit
10 May, 2012
1 commit
07 Mar, 2012
2 commits
06 Jan, 2012
1 commit
02 Dec, 2011
1 commit
29 Nov, 2011
1 commit
24 Nov, 2011
1 commit
02 Nov, 2011
1 commit
-
Async confirm
24 Oct, 2011
1 commit
19 Oct, 2011
1 commit
15 Oct, 2011
1 commit
26 Sep, 2011
2 commits
-
…les, fixed whitespace, upgraded RSpec to 2.6.0 Conflicts: app/helpers/errs_helper.rb app/mailers/mailer.rb app/models/notice.rb app/views/errs/_table.html.haml app/views/errs/show.html.haml app/views/notices/_summary.html.haml spec/models/issue_trackers/redmine_tracker_spec.rb spec/views/errs/show.html.haml_spec.rb
09 Sep, 2011
1 commit
05 Sep, 2011
1 commit
19 Aug, 2011
2 commits
-
…ntroller into their respective models. * Wrote specs for Fogbugz. Turns out that the Fogbugz API used the 'Crack' gem which happened to break mongoid by playing with the String class. See here for details: [ https://github.com/mongoid/mongoid/issues/618 ]. * This is why I had to upgrade mongoid to version 2.1.1, which included the 'Crack' fix. Upgrading Mongoid to 2.1.1 required the following changes: ** Fixing a counter_cache test on Err model ** Namespacing all of the subclassed IssueTracker models based on their parent directory ** Setting `config.mongoid.preload_models = true` in config/application.rb
13 Aug, 2011
2 commits
09 Aug, 2011
1 commit
-
… just commit this all at once. I used the following command to do this: (on Ubuntu ) find . -not -path '.git' -iname '*.rb' -print0 | xargs -0 sed -i 's/[[:space:]]*$//'
07 Aug, 2010
1 commit
06 Aug, 2010
1 commit
02 Aug, 2010
1 commit