h1. Changelog for tabulatr h2. 0.4.2 * Fixed two more bugs breaking ruby 1.8 compatibility. (Thanks to moabite for reporting) h2. 0.4.1 * Fixed a "bug" breaking ruby 1.8 compatibility. (Thanks to moabite for reporting) h2. 0.4.0 * Mongoid now really works. * A lot of cleanup in the finder code (million thanks to plukevdh) * You can use table_for for 'normal' arrays that weren't found with find_for_table. * Added a :name_mapping option to find_for_table to allow filtering by compund expressions, example:
@customers = Customer.find_for_table(params, name_mapping: { name: '("addresses"."firstname" || \' \' || "addresses"."lastname")', address: '("addresses"."street" || \' \' || "addresses"."zip_code" || \' \' || "addresses"."city")' }, default_order: 'updated_at desc' )* Added Mysql2Adapter to the ActiveRecord connection list (thanks to AaronLasseigne). * Monkeypatch mongoid only if it is present. (thanks to rwz) h2. 0.3.0 * Converted into a Rails 3.1 engine and moved css and images to use the new asset pipeline. Works with 3.0.x -- 'opefully. Thanks to all that reported the problem. * Header cells are now auto translated. Thanks to niedhui! h2. 0.2.1 * Fixed a ruby 1.8 syntax issue. (Thanks to TBAA for reporting.) h2. 0.2.0 * Mongoid can also be used in place of ActiveRecord * fixed handling of the primary_key column and name * Added dom_id to tables tr. Thanks to sterrym (Tim Glen)! * Added note on "Request-URI Too Large error" to README h2. 0.1.3 * nicer table headers. Thanks to troya2 (Troy Anderson)! h2. 0.1.2 * Fixed bug with nil exception on 'empty' belongs_to association. Thanks to dgm! h2. 0.1.1 * Fixed bug with "Select ..." buttons introduced in 0.1.0. * Added tests for these buttons. h2. v0.1.0 * new find_for_table option :stateful. If
MyFancyModel.find_for_table params, :stateful => sessionis given, the current sorting, filtering, selecting and paging information is stored to the session and restored when reopened. Great for procession specifically filtered lists. h2. v0.0.5 (2011-03-28) * new column option :map (defaults to true) to disable automatic mapping on the enries of the association as in
<%= table_for @products do |t| ... t.association :tags, :title # mapped to all tags t.association :tags, :count, :map => false # called on the list-of-tags end %>h2. v0.0.4 (2011-03-27) * fixed the path to paging/sorting images installed by generator. Thanks to sdsykes!