=== Release 0.7 === Hobo 0.7 is tested against Rails 1.99.1 (aka Rais 2.0 RC2) DRYML Switched to dashes instead of underscores for tag and attributes names. These are converted to underscores in the underlying ruby code. Unification of tempalte tags and non-template tags. There is now only one type of tag and two different ways to call a tag: content directly inside the tag Content inside a named parameter (note the colon) Some more content Note that these styles cannot be mixed. If there is a parameter inside a tag call, there must be only parameters (and whitespace, which is not output) In the first style, the call is implicitly equivalent to: content directly inside the tag And by the same token, is now written: The tagbody local variable is gone too. "if tagbody" is now "if all_parameters.default?" and "tagbody.call" is now "all_parameters.default" A rake task hobo:fixdryml has been added which does a pretty good job of converting Hobo 0.6 DRYML source-code to the new style. It will change every file in app/views/**/*.dryml, and keeps a backup copy of app/views in app_views_before_fixdryml. If you pass it CSS=y and ID=y it will 'dasherize' css classes and IDs too, which is the new Hobo concention. You can also pass DIR=... if you want to point it somewhere other than app/views. It won't fix anything in erb scriptlets, e.g. use of the tagbody local variable. Expect to do some manual fixes after running the task (good job you've got that thourough test suite eh?) The add_classes helper now automatically dasherizes all class names. New helper 'element'. Use in place of Rails' tag and content_tag helper. It dasherizes attributes given as symbols. Migration generator Better support for STI. It no longer wants to generate tables for the subclasses. Stil needed: a way of integrating fields declared in the subclasses -- they are currently ignored by the generator. Hobo Rapid In place editiing (and Ajax in general) will now provide the form authentication token (CSRF protection) if available. No need to disable protect_from_forgery any more. Stylesheets: Removed list-style: none from hobo_abse.css Javascript: Dasherized all css classes and dom IDs used. Upgraded to latest low_pro.js New theme 'Clean' New helper 'linkable?' can be given a record or class, and tells you if Hobo has a route for it. Only works for 'show' and 'index' actions so far. Tag library \\'/;p now automatically knows not to generate (broken) links to things that are not 'linkable?'. Outputs just the link content instead. We used to have and . We now have and