== Hobo 0.7.4 === Switching to a new style for the changelog. Now that we're using git the commit logs are a lot better, so this file is just going to contain edited highlights of the commit log. Rapid: making make more use of the to_html API from HoboFields Reworked REXML extensions. Now compatible with REXML 3.7.1.1 through 3.7.1.3 ModelController -- fix to chosing whether or not to paginate Various IE Javascript fixes Rapid, : Additional params, and IE fix Moving the part-contexts javascripts from the very end of the output, to the end of The script tag must now be output by the , instead of being appended automatically by DRYML. This is done in Rapid -- removing DRYML -- improved error reporting Hobo::Model: fix -- we were breaking inheritence of validations Model generators -- adding some helpful comments Rapid: Fix to permission check for adding to primary collection on Rapid: removing empty message from Rapid: Fix to enum-string editor Rapid: Fix to auto-label in User model generator -- change create permission to allow admin to create another admin New lowpro version New automatic css class 'with-owner' on default Hobo::ModelController -- fix to automatic inclusion of reorder action for models that act as list Improvements to default Rapid javascript: try to automatically bring back the empty-message on removing the last item from a collection Scopes: fix to apply_scopes Fix to Rapid tags: Support for the empty-message on a collection re-appearing automatically if all the items are removed by the user DRYML: scoped variables -- assigning to a variable now modifies it's value in a parent scope if it's present in one fix -- was incorrectly guessing 'in-place' during ajax update New tag Fix to Improvements to Ability to sort by name of 'this' when 'this' is one of the fields Keep table headings in when the table is empty Don't include page nav if the collection doesn't support it Improvements to rapid pages Allowing has_many associations in forms Allowing the primary collection on a show page to be provided by an instance variable (so that filtering/searching/pagination are supported) Tidy of -- improved wording Fixes to make 'logged in as bob' a link to current_user Factored out default into , and fixes to -- add 'edit' link change 'title' param to 'heading' and make it easier to provide your own use a div rather than a span Fix to Fix to Fix to Rapid forms: switching to and naming
-- don't include auth token on GET forms Rapid: -- don't show 'View' link if the thing is not linkable Rapid: adding sort attribute to Rapid: default 'no-filter' option for filter-menu Rapid: Fix to extraneous whitespace in Rapid: better guess of label on Rapid: Use association name rather than class name in css classes on tags (when available) Rapid: Fix to use of with Removed 'all' method from ScopedProxy - delegates to the model class instead Fix to origin_attribute on scoped associations Fix to with_abc automatic scopes New automatic scopes 'include' and 'search', and improvements to order_by scope Scopes: fix to parameterised scopes on associations Scopes: new apply_scopes method for models and has_many associations Pass a hash of scope-name => scope-arguments (single valur or array), the result will be scoped accordingly, but only if the first argument to the scope is not blank. It's designed to be used from controllers: if a param (e.g. a search or filter) is not included in the request, the scope is not applied Hobo::ModelController -- fix to permission denied response for ajax actions Hobo::ModelController -- Fix to flash message after update Hobo::ModelController -- fix to redirection after submitting a form Hobo::ModelController -- cleaning up sorting and filtering Hobo::ModelController -- make reorder one of the automatic :write_only actions if the model has the position_column method better error reporting Hobo::ModelController -- adding automatic reorder action Works with acts_as_list and scriptaculous drag and drop re-ordering Hobo::Model adding :managed => true option to has_many Only valid with the :through option. Records of the joining model will be created and destroyed as required when this record is saved, in order to honour the contents of the association at save time. Hobo::Model -- adding .user_update Hobo::Model -- fix to user_find Hobo::HoboHelper -- #map_this (used by repeat) will set this_key when iterating over a hash DRYML: made this_field_reflection do a better job of figuring out the current reflection DRYML: adding this_key -- gives you the current key when ing on a hash DRYML: Error message for invalid attributes on parameter tags, e.g. Hobo module - fix to permission checks on unexpected objects Hobo module -- always return false for can_create? on has_many associations that are not 'simple' (i.e. they have conditions) DRYML: Fix for replacing an overridden tag parameter Rapid pages: new submit label on show page (add to collection) Rapid pages: Add param to Rapid pages: by default, append app-name to every title, override with full-title attribute () Rapid pages: -- update primary collection count when an item is deleted Rapid pages: fix on Rapid pages: make edit link on show-page check if the edit action is linkable Rapid forms: adding inputs (just textareas) for textile and markdown front_controller generator -- use in index.dryml Rapid generics: adding support for Rapid tags: switching to tag, called from simple-layout hobo_model_resource generator -- removing creating of (rails style) resource route Improvements to rapid pages Allowing has_many associations in forms Allowing the primary collection on a show page to be provided by an instance variable (so that filtering/searching/pagination are supported) Rapid: Fix to use of with Removed 'all' method from ScopedProxy - delegates to the model class instead Fix to origin_attribute on scoped associations Rapid tags: disabled , new is used now Hobo::Model -- fix to reverse_refelction Rapid tags: Adding and params to