Michael Deering
Michael Deering
here is the failing spec it "should handle _or_ed polymorphic conditions like a rockstar" do Audit.auditable_user_type_id_or_auditable_order_type_user_id_eq("5").proxy_options.should == { :conditions => ["something"], :joins => "something else" } end Will give you...
Added ability and test. http://github.com/mdeering/acts_as_tree/commit/7728ea1c2e3bd6a04bc231dd20332a7afdcbca9d http://github.com/mdeering/acts_as_tree/commit/97d6e859f05c683521a8aade74389620acae7968 Pull request has been sent.
Should be able to just call string functions like :uppercase and :titleize as normalizers without having to actually define them as normalizers.
- [X] Update for RSpec 3 expect syntax- - [X] With the removal of the default_attributes stuff we are breaking API so should be a major release.- - [ ]...
With access to instance of the object we are normalizing against we could easily add clauses and hook into the DSL
Restart you server after you run 'bundle install'. Please don't log an issue here if you have not done a restart of your rails server at a minimum to try...