=== Upgrading to a new version of Hobo ===
Once you have installed a new version of Hobo, you may wish to run
rake hobo:run_standard_generators
or
rake hobo:run_invite_only_generators
This will run all of the standard generators, and pull in any bug
fixes or enhancements to generated code. Note that this is quite
likely to cause conflicts, so it is highly recommended that you have
your code backed up and in a change control system such as git or
subversion.
=== Hobo 1.0.2 ===
This release is almost identical to 1.0.1 except that it updates the
version requirements to exclude Rails3. Hobo does not currently work
with Rails3, although we are working on it.
This release silences some warnings produced when running with Rails
2.3.10.
This release contains preliminary support for Ruby 1.9.2, although you
may encounter problems if you use Single Type Inheritance (STI)
models.
A few very minor bug fixes have also been included. See the [github
log](https://github.com/tablatom/hobo/compare/v1.0.1...v1.0.2) for
more details.
=== Hobo 1.0.1 ===
This version contains two speedups: one fix that reduces the number of
database accesses by Matt Jones and one that speeds up compilation of
DRYML by Petteri Räty.
This version also contains several bug fixes. See the [github
log](http://github.com/tablatom/hobo/tree/v1.0.1) for more details.
=== Hobo 1.0.0 ===
Drumm-roll! Trumpets! Fanfare!
We did it : )
Hobo 1.0.0 is the same as Hobo 0.9.106 except for documentation
updates and [this tiny commit](http://github.com/tablatom/hobo/commit/ba9d2cc60fad2e45c7006c31492607882f568763).
=== Hobo 0.9.106 ===
Three small bug fixes. See the Git log for more details.
http://github.com/tablatom/hobo/commits/v0.9.106
=== Hobo 0.9.105 ===
Iterating quickly now so we can cut this off as soon as possible.
[#608](https://hobo.lighthouseapp.com/projects/8324/tickets/608):
One of the IE7 fixes was too aggressive, and broke input-many.
=== Hobo 0.9.104 (AKA 1.0RC3) ===
[#604](https://hobo.lighthouseapp.com/projects/8324/tickets/604):
The new input-many introduced in 0.9.103 had issues with >10 elements,
several issues running with IE7 and an issue with its javascript
callbacks.
[#537](https://hobo.lighthouseapp.com/projects/8324/tickets/537):
`x._?.to_s` now returns nil rather than a blank string
[#592](https://hobo.lighthouseapp.com/projects/8324/tickets/592):
If you previously had a snippet such as this:
...
You now have to use:
...
The same change has been applied to ``
[#568](https://hobo.lighthouseapp.com/projects/8324/tickets/568):
`hobo_index` now supports the `:scope` option
See also the [git log](http://github.com/tablatom/hobo/commits/v0.9.104)
=== Hobo 0.9.103 (AKA 1.0.RC2) ===
### Warning
If you are on Rails 2.3.5 and are running Hobo as a plugin,
please check out bug
[#574](https://hobo.lighthouseapp.com/projects/8324/tickets/574-rails-235-b0rks-our-rake-tasks-running-on-edge-hobo)
for a workaround you need to apply to your Rakefile.
NOTE: fixed in 0.9.104
### Bugs
This release fixes a couple of serious bugs:
[565](https://hobo.lighthouseapp.com/projects/8324-hobo/tickets/565)
and
[567](https://hobo.lighthouseapp.com/projects/8324-hobo/tickets/567).
### Input-Many & has-many :through
The `` tag in Rapid has been replaced with a version
ported from the `` tag in Hobo-JQuery. This brings
the following enhancements:
- it supports 0 length associations
- input-many's may be nested inside of other input-many's
- it allows the (+) and (-) buttons to be customized
- it provides a default for the `item` parameter
- it copies from a template rather than cloning the current item and clearing it
- the template may be overridden
- id's of textareas and selects and other non-input's are adjusted properly
- classdata for inner elements updated
The new `` tag differs from `` in that:
- it's written in prototype.js rather than in jquery
- it doesn't have the delayed initialization feature
- the name of the main parameter is `default` rather than `item`
- hjq-input-many allows you to provide javascript callbacks.
input-many fires rapid:add, rapid:change and rapid:remove events
that can be hooked.
You will have to ensure that your hobo-rapid.js and clean.css files
are updated in your application.
=== Hobo 0.9.101/0.9.102 (AKA 1.0.BROWN_PAPER_BAG) ===
Yes, that was embarrassing. How the test suite failed to catch that
one is mind blowing.
=== Hobo 0.9.100 (AKA 1.0.RC1) ===
Deletions:
- Children must now be specified in the viewhints. Hobo no longer
uses the presence of :dependent => :destroy to determine the
primary child association.
- The bundles feature of Hobo which never really worked and was
never documented has been removed from this release.
- The message "You must activate your account before you can log
in. Please check your email." which used to be added to the flash
message when a user has signed up has been removed from
`hobo_do_signup`.
- The fix for
[#556](https://hobo.lighthouseapp.com/projects/8324-hobo/tickets/556)
means that the migration generator now ignores all models that have
a `hobo_model` declaration but not a `fields` declaration. If you
have any models that do not have a fields declaration (join
tables, for example), you may wish to add a blank fields
declaration.
Major enhancements:
- Hobo now supports Ruby 1.9.1. Problems have been encountered with
Ruby 1.9.1 and Rails 2.3.4. Rails 2.3.3 and 2.3.5 work fine.
- Hobo has been tested against the new Rails 2.3.5. JRuby users may
encounter [Rails bug 3497](https://rails.lighthouseapp.com/projects/8994/tickets/3497)
- Rails 2.2 is still supported for this release. Support for 2.2
may be dropped post-1.0.
- Translations (ie, the ht functions) has now been moved into its
own module. To access the translation functions from elsewhere
use `Hobo::Translations.ht`. Alternatively, including the
Hobo::Translations module into your class will give you `ht` as a
local instance method. (This is one of the things the
`hobo_controller` declaration does.)
- `rake hobo:run_invite_only_generators` was added as an alternative
to `rake hobo:run_standard_generators` for those who created their
application with the `--invite-only` flag
- [#409](https://hobo.lighthouseapp.com/projects/8324/tickets/409)
The `` tag has been modified to display the `to_s`
representation of the object while in edit mode. The `to_html`
representation is still used in view mode. The editor tag for
HTML columns has been modified to remove the heavy sanitizing that
was previously performed. HtmlString will sanitize before saving
to the database. You need to update your hobo-rapid.js for this
fix. Run `rake hobo:run_standard_generators` or copy the file
directly from [github](http://github.com/tablatom/hobo/blob/master/hobo/rails_generators/hobo_rapid/templates/hobo-rapid.js)
- [#296](https://hobo.lighthouseapp.com/projects/8324/tickets/296)
The migration generator now fully understands HABTM join tables. Note that
the "decorated join table" functionality that was deprecated in Rails 2.3
is NOT supported.
- [#475](https://hobo.lighthouseapp.com/projects/8324-hobo/tickets/475)
User-defined rich types are now loaded from `RAILS_ROOT/app/rich_types`, if it exists.
- EnumString's can now be translated. The
[manual](http://cookbook.hobocentral.net/manual/hobofields/rich_types)
has been updated with the details.
- ViewHint's can now be translated. Well, they mostly could in 0.9,
but it has been cleaned up and [documented with
ViewHints](http://cookbook.hobocentral.net/manual/viewhints).
- Lifecycle states can now be translated. The key is
`#{table_name}.states.#{state}` Transitions use the key `#{table_name}.actions.#{transition}`
Major bug fixes:
- [#537](https://hobo.lighthouseapp.com/projects/8324-hobo/tickets/537)
The `._?.` "smart dot" now returns 'nil' rather than calling its
trailing function more often than it used to, more closely
matching its documentation.
- [#457](https://hobo.lighthouseapp.com/projects/8324-hobo/tickets/457)
ie7-recalc.js has been updated to improve compatibility with IE6.
Please update the copy inside of your application, either by
running `rake hobo:run_standard_generators` or by copying the file
directly from [github](http://github.com/tablatom/hobo/blob/master/hobo/rails_generators/hobo_rapid/templates/ie7-recalc.js)
- [#512](https://hobo.lighthouseapp.com/projects/8324-hobo/tickets/512)
Hobo now has better compatibility with non-DRYML templates
Minor enhancements:
- [#554](https://hobo.lighthouseapp.com/projects/8324-hobo/tickets/554)
The transition-buttons tag no longer displays transitions that are
not `:available_to` the user.
- [#536](https://hobo.lighthouseapp.com/projects/8324-hobo/tickets/536)
documentation for field-list more closely matches reality
- [#536](https://hobo.lighthouseapp.com/projects/8324-hobo/tickets/543)
i18n has been silenced. It's messages can be made to reappear on
the log via `HOBO_VERBOSE_TRANSLATIONS`.
- [#555](https://hobo.lighthouseapp.com/projects/8324-hobo/tickets/555)
Specifying ignore_index :foo will ignore the index named 'foo' on the model
when generating migrations - handy for indexes that can't be generated
automatically (with a prefix length on MySQL, for instance) or existing
indexes in legacy tables.
See also the [git log](http://github.com/tablatom/hobo/commits/v0.9.100)
=== Hobo 0.9.0 ===
Major enhancements:
- Internationalization! Through the hard work of soey and Spiralis,
we now have internationalization support in Hobo. The manual
page is on the
[cookbook](http://cookbook.hobocentral.net/manual/i18n). Locales
are available on
[github](http://github.com/Spiralis/hobo-i18n-locales).
- Index generation: Matt Jones' automatic index generation code has
been merged. The default Rails index names are very long, so this
is unlikely to work well on Oracle, which has a 30 character
limit. Testing against Postgres, Oracle, SQL Server and JDBC has
been extremely limited. To generate indices run script/generate
hobo_migration.
- New projects now have a summary page on /front/summary that
provides application information to the administrator. Current
projects may add this action by running the
`hobo_front_controller` generator.
- STI derived classes can add additional fields to their parent
class with the fields block. Note that the "can't generate a
migration for STI base and derived classes all at once" issue
still applies. In general, STI handling should now work much
better.
- [Bug 464](https://hobo.lighthouseapp.com/projects/8324/tickets/464-transition-buttons-should-have-a-option-to-link-to-forms-instead-for-transitions-that-take-parameters)
The transition-buttons tag now generates buttons that link to the
transition page for transitions that require parameters.
- [Bug 532](https://hobo.lighthouseapp.com/projects/8324/tickets/532)
In previous versions, you had to add the new HTML5 tags to
RAILS_ROOT/config/dryml_static_tags.txt. This version whitelists
all HTML5 tags except for aside, section, header and footer, which
conflict with existing Rapid tags.
Major bug fixes:
- [Bug 530](https://hobo.lighthouseapp.com/projects/8324-hobo/tickets/530)
is a critical bug for invite-only projects. To incorporate the
fix, you must rerun your generators or follow the instructions in
the [commit](http://github.com/tablatom/hobo/commit/17247eac8a78f8b36dcc3b9684a3e4ec8da32a23)
- [Bug
480](https://hobo.lighthouseapp.com/projects/8324/tickets/480-find_owner_and_association-method-for-has_many-associations)
Owner actions now work with has_many associations
- [Bug 516](https://hobo.lighthouseapp.com/projects/8324/tickets/516-association-name-as-parameter-in-lifecycle-step-almost-works)
Specifying a belongs_to association as a lifecycle param works; it appears as a select-one on the generated page.
- [Bug 515](https://hobo.lighthouseapp.com/projects/8324/tickets/515-virtual-boolean-field-uninitialized-constant-hobobooleancolumn_type)
Virtual :boolean fields declared with attr_accessor now work
- [Bug 484](https://hobo.lighthouseapp.com/projects/8324/tickets/484-transition-actions-with-key-fail-if-model-isnt-visible-to-guests)
Transition actions that require a key no longer check if the model is visible to Guest
- [Bug 485](https://hobo.lighthouseapp.com/projects/8324/tickets/485-make-lifecycles-on-sti-subclasses-behave)
Lifecycle support on STI models works now. Note that derived classes DO NOT inherit any of the parent lifecycle implementation.
- [Bug 387](https://hobo.lighthouseapp.com/projects/8324/tickets/387-inheritance-sti-models-name-not-propagating)
STI derived classes now inherit settings like name_attribute correctly.
- [Bug 533](https://hobo.lighthouseapp.com/projects/8324/tickets/533-remove-id-from-hidden-field-for-check-box)
The hidden field generated with a checkbox input shouldn't have an ID.
- [Bug 526](https://hobo.lighthouseapp.com/projects/8324/tickets/526-routing-error-does-not-render-not-found-page)
Routing errors now render not-found-page, rather than the default Rails routing error message.
Minor Enhancements:
- Aside collections now have a new-link at the bottom (inside the
preview-with-more)
[#421](https://hobo.lighthouseapp.com/projects/8324/tickets/421-auto_actions_for-doesnt-create-add-button-in-sidebar)
- the manual now includes a Generators section, and a subsite
tutorial has been added.
- [Bug
386](https://hobo.lighthouseapp.com/projects/8324-hobo/tickets/386)
and [Bug
501](https://hobo.lighthouseapp.com/projects/8324-hobo/tickets/501)
have been fixed, reducing the number of extraneous migrations that
the hobo_migration generator creates. These are actually Rails
and/or database bugs we're working around. For instance, MySQL
does not allow default values for text columns, so Rails silently
ignores them. SQLite does not allow scale or precision settings on
decimal fields. These types of bugs are good reasons why you
should use the same type of database for development, testing and
production.
- A new view_hint, 'inline_booleans', controls whether boolean attributes are displayed in the header (default behavior
of Rapid show pages) or inline with the rest of the field-list. You can either pass a list of field names, or 'true'
(without quotes) to make all booleans inline.
- hobo_show now accepts a model instance as a first parameter. This restores symmetry with the other hobo_* actions.
- on Rails 2.3 and above, routes will be generated with the optional .:format suffix, and the formatted_* routes are skipped.
- non-required fields that are marked :unique will now allow nil
values.
Minor Bug Fixes
- [Bug 540](https://hobo.lighthouseapp.com/projects/8324-hobo/tickets/540)
Hobo::Permissions::Associations::HasManyThroughAssociations#create!
did not save as the "!" implied.
See the [github log](http://github.com/bryanlarsen/hobo/commits/v0.9.0)
=== Hobo 0.8.10 ===
This is a brown paper bag release. The fix for Bug 473 was not
properly tested. Thanks Iain Beeston for quickly sending us a patch.
=== Hobo 0.8.9 ===
Enhancements:
-
[precompile_taglibs](http://groups.google.com/group/hobousers/browse_thread/thread/29694e75f60c0870/6b05f75f2f7e91f5)
allows you to precompile taglibs during application startup rather
than on demand.
- `--invite-only` options added ti generator
Major bug fixes:
- [Bug
461](https://hobo.lighthouseapp.com/projects/8324-hobo/tickets/461-hobo-is-not-compatible-with-firefox-35):
Firefox 3.5 problems were caused by lowpro. For existing projects,
you will have to update your copy of [public/javascripts/lowpro.js](http://github.com/tablatom/hobo/raw/master/hobo/rails_generators/hobo_rapid/templates/lowpro.js)
- [Bug
477](http://groups.google.com/group/hobousers/browse_thread/thread/5a15288f9703a8a4/58a8dee62b237d29)
caused problems when the user submitted a form from the index page.
- "collection" was renamed to "collection-heading" in the Rapid
generated show-page.
- [Bug
473](https://hobo.lighthouseapp.com/projects/8324/tickets/473-use-timezonenow-instead-of-timenow#ticket-473-5):
Hobo now uses any time zone's configured for the application rather
than using the server's time zone.
Minor bug fixes and enhancements:
See the [github log](http://github.com/bryanlarsen/hobo/commits/v0.8.9)
=== Hobo 0.8.8 ===
Hobo 0.8.8 comes with some slight changes to the colour scheme for the
"clean" theme. To apply these enhancements, you may need to run
`rake hobo:run_standard_generators`.
Significant bug fixes:
- [Bug 422](https://hobo.lighthouseapp.com/projects/8324/tickets/422): Because of it's switch to Rack, Rails 2.3 changed the interaction
between checkboxes and their accompanying hidden field. This caused
us to always return "false" for a checkbox, even if it was checked.
- [Bug 425](https://hobo.lighthouseapp.com/projects/8324/tickets/425): Hobo 0.8.6 removed support for the non-working
big_decimal. However, this shared some code with decimal, so we
removed a little bit too much code. This restores the missing
editor and input for the decimal type.
Minor bug fixes:
- [Bug 413](https://hobo.lighthouseapp.com/projects/8324/tickets/413): add target attribute to `` links
- [Bug 420](https://hobo.lighthouseapp.com/projects/8324/tickets/420): `acts_as_list` controls visible to Guest
- [Bug 446](https://hobo.lighthouseapp.com/projects/8324/tickets/446): `` not working
- Migration generator fix - would occasionally suggest a default
migration name that already exists
Minor enhancements:
- [Bug 434](https://hobo.lighthouseapp.com/projects/8324/tickets/434): allow String or Hash to be passed in a :redirect optione
- `key_timeout` option added to lifecycles
- [Bug 437](https://hobo.lighthouseapp.com/projects/8324/tickets/437): 'options' attribute added to ``
- [Bug 424](https://hobo.lighthouseapp.com/projects/8324/tickets/424): 'limit' option added to ``
- [Bug 440](https://hobo.lighthouseapp.com/projects/8324/tickets/440): support blank Time and DateTime inputs
- [Bug 423](https://hobo.lighthouseapp.com/projects/8324/tickets/423): default content for input-many
- [Bug 379](https://hobo.lighthouseapp.com/projects/8324/tickets/379): multiple warning messages on email validation
- [Bug 404](https://hobo.lighthouseapp.com/projects/8324/tickets/404): Extension to Hobo::Model class to check ViewHints for error
validations
- [Bug 415](https://hobo.lighthouseapp.com/projects/8324/tickets/415): Visiting sign-up page when logged in gives permission
denied
- Rapid navigation - added name attribute to `` to make it easier to select the current nav item in some cases (e.g. dynamic nav item text)
- Rapid forms -- added url attribute to ``
- HoboSupport - `Enumerable.build_hash` can now be used without a block to build a hash directly from a list of pairs
=== Hobo 0.8.7 ===
I forgot to refresh the Manifest, so this is a brown paper bag release.
=== Hobo 0.8.6 ===
Hobo 0.8.6 includes Rails 2.3 support. Rails 2.2 support has been
maintained. Rails 2.1 support was dropped in 0.8.5.
Significant effort was put into unit and integration tests in this
release. Unit tests may be run via `rake test_all`. Integration
tests live in agility: http://github.com/tablatom/agility/tree/master.
Some small changes were made to item orders to fix bugs with IE6.
This may require updates in custom stylesheets.
Previously, the lifecycle transitions had a parameter called :params
in the documentation and :update in the code. The code has been
updated to match the documentation.
Support for `big_integer` in HoboFields has been dropped. It appears
that this has never worked correctly.
input-many is now a polymorphic tag and the default tag for has_many
inputs.
The 'content' parameter has been renamed to 'description' for
generated cards.
input-many and sortable-collection have been improved.
Many tags have had parameters and attributes added to improve
customization.
Many bugs have been fixed. See the [lighthouse](
http://hobo.lighthouseapp.com) or the [git commit
history](http://github.com/tablatom/hobo/commits/master/) for more
details.
0.8.6 is a release candidate for Hobo 1.0. At this point we do not
believe that there are any outstanding bugs on Hobo that do not have
workarounds. The
[lighthouse](https://hobo.lighthouseapp.com/projects/8324-hobo/tickets/bins/8323)
shows the remaining tickets scheduled for 1.0
=== Hobo 0.8.5 ===
New permission system
Various fixes
Now runs permission checks *before* callbacks, not after
In the switch to the new permissions system, we changed to running them after all callbacks. This turned
out to be wrong. Permissions should only be about what the user tried to change, not other changes
triggered by application logic
API change: Web method permissions should now be defined as foo_permitted? instead of foo_call_permitted?
Updated hobo command and hobo generator to use the new config.gem style for apps that use the Hobo gem
The --add-gem option to script/generate hobo will add "config.gem 'hobo'" to environment.rb. The hobo command
does this automatically
Lifecycles fix -- state_name would throw a nil error if there was no state (not returns nil)
This was causing the :new_key option to fail on a create step
Fixes to problems with live-search introduced with the Rails 2.2 upgrade
=== Hobo 0.8.4 ===
Rails 2.2 compatible. Rails 2.1 support dropped.
Removing the Rails routing patch (from the hobo generator) that is no longer needed.
Existing apps can delete this from config/initializers/patch_routing.rb
BREAKING: New permission system
This is the major feature of this release. The big change is that we now use the dirty tracking features
of Active Record for update permission, rather than passing that weird 'new' object. We also use the
acting_user method throughout, rather than passing the user as an argument.
See the docs online: http://cookbook.hobocentral.net/manual/permissions
Removing special Hobo semantics for association.new which was breaking the Rails API, and added
#new_candidate
association.new_candidate instantiates the record but does not add it to the collection.
Fix to linkable? helpers when context responds to origin but is not a collection
POSSIBLY BREAKING: Improved multi-model form support
has_many and belongs_to now support the :accessible => true option, which allows mass-asssignment of
attributes to work with sub-hashes that correspond to associations. Docs to follow!
BREAKING: Lifecycle improvements
The lifecycle DSL has been tidied up. Various changes to the semantics.
Lifecycle validations are now supported (e.g. validates_presence_of :foo, :on => :my_transition)
Also small improvements to the controller layer lifecycles support
See: http://cookbook.hobocentral.net/manual/lifecycles
New ViewHints mechanism
Classes in app/viewhints are a place to declare things about your models that are view layer concerns.
For example, you can give the presenation name for a field if this should be different from the back-end
name. You can give "field help" for each field. You can specify which collections are the "children" of a
model from a UI point of view.
Rapid -- removed use of as it gets some words wrong (e.g. "an user")
Rapid -- moved to rapid_forms.dryml
Model controller fix -- owner instance variable should be named after the association, not the class (e.g.
@author, not @user)
View hints fix -- inconsistent results due to class reloading problem in dev mode (was causing inconsistent
Rapid pages to be generated)
Hobo Models -- added support for 1-to-1 relationships to Hobo::Model.reverse_reflection
This puts us a step closer to better support for 1-to-1 relationships in various places, e.g. for owner
actions
Improved error message when declaring auto_actions_for on an association that doesn't have the
corresponding reverse-reflection
Fixed query_params helper -- should URI decode the parameters
Rapid -- simplified (no need for a hidden tag)
Rapid pages -- added parameter to account page
DRYML -- fix to merge-attrs="a, b, c"
Rapid -- added support for disable attribute
Fix to when forgery protection is disabled
User model - validates_presence_of password confirmation, in addition to validates_confirmation_of
Fixes #310 - thanks to Jaub Suder
BREAKING: Rapid page generators -- Renamed 'primary-content' parameter in to 'description'
User controller -- made account action follow the auto_actions declaration
Changed hobo->hobofields->hobosupport gem dependency rules to require the exact version
User model generator -- Hobo apps now have people log in with their email address by default, and the user
has a 'name' field rather than 'username'.
Note this will not effect existing apps
Clean theme - fix to styling of login page in IE6
Rapid javascripts -- fix to in-place-editor errors not showing up properly (#324). Thanks to Jakub Suder
DRYML -- fixed duplicate ID bug with ajax parts (#326)
POSSIBLY BREAKING: Models -- removed support for chronic parsing of times / dates.
Was wrong to hardwire this support in for every date/time field. Will be added back in as a rich type
at some point
Scopes - Fixed association.conditions with scopes for has_many :through
Rapid -- now honours the 'skip' attribute under all circumstances
Rapid -- app-stylesheet param, to make it easier to add in custom stylesheets, but have them
*before* application.css
Rapid -- call stylesheet_link_tag once only so that asset combining is supported
DRYML -- allow as a shorthand for
Removed super_user? and adminstrator? from Hobo::Guest, and added administrator? to Guest generator
administrator? should not be present at all in core Hobo, it's just a default starting point
Rapid -- don't add the hidden field if the checkbox is disabled - thanks to Tola.
Rapid -- Fix to 'current' CSS class when a body is not given
Rapid pages -- fix to selecting current nav item
Added hobo:run_standard_generators task (*NIX only)
Guest - changed default #to_s and #login to use lower case
Rapid -- allow method name to use dashes, and raise an error if there's no such web
method
DRYML -- never run DRYML generators in production mode. Instead run
rake hobo:generate_taglibs
Rapid JavaScripts -- adding custom events to
Rapid JavaScript -- added option to specify { message: false } on ajaxRequest to disable the spinner
Model Controller -- fix to re_render_form when in a subsite
hobo_model_controller generator -- adding support for generating subsite controllers
HoboSupport -- adding remove and remove_all (plus mutating versions with a !) to string - better name for
sub(x, '')
DRYML -- added support for scope.even_odd to the attribute version of repeat (was only on the tag version)
DRYML -- improved error message for mixed param / non-param tags
Model controller -- fix to index actions on non-paginated formats (was passing will-paginate options to a
regular find)
Migration generator -- adding option: --force-drop-yes-i-really-mean-it-i-know-what-i-am-doing-dammit
Not really, it's actually just --force-drop
With this option it won't ask you "drop or rename?" it will just drop
HoboFields -- fix to EnumString when values are not valid contant names
Rapid -- added support for 'disabled' to
Enhanced ajax mechanism so that it can refresh form inputs (was previously not able to figure out the name
attributes)
Rapid -- adding support for 'disabled' attribute to
Rapid -- added a 'no-edit' attribute to and . Gives control over how
non-editable fields are handled.
- view: render the current value using the `` tag
- disable: render the input as normal, but add HTML's `disabled` attribute
- skip: render nothing at all
- ignore: render the input normally. That is, don't even perform the edit check.
Added to the user 'simple pages' (login, signup...)
User conrtroller -- redirect to home_page if a logged-in user visits the login page
Model controller -- fix to lifecycle form inputs not showing up after a validation error
Rapid -- changed rules for chosing whether to be in-place or not
BREAKING (minor): removed 'type' attribute from
BREAKING (minor): Rapid -- renamed 'separator' attribute of to 'join'
Rapid -- moved live-search and filter-menu tags into rapid_plus
Rapid -- removed unused . Renamed to , made it
polymorphic, and extracted the default definition as
Rapid -- tweak to behaviour of . Is now more sensible when called on a non-AR class
Re-organisation and documentation for Rapid Document Tags
BREAKING: Deleted tag.
Models - fix to overriding of not_found and permission_denied in applicatin controller. Also fix to bug in
permission denied
Models -- fix to preceding dashes in to_param (sometimes showed up in the URL)
DRYML -- allow - instead of _ in repeat/if/unless, when not code attribute
HoboSupport - re-org of the file layout
HoboFields -- new rich type :serialized (HoboFields::SerializedObject)
example usage: foo :serialized, :class => Array
Also some fixes to wrapping of rich types that were needed
HoboFields -- adding 'declared' callback to rich types. Called whenever a field of that type is declared
See HoboFields::HtmlString for an example
HoboFields -- new types RawHtmlString and RawMarkdownString that are not sanitized. Plus fix to sanitizing
DRYML -- new DrymlDoc facility. Starting point for a roll-your-own documentation generator
Used to generate the cookbook taglib API reference.
hobo_front_controller generator -- use map.root for adding the root route
Model controller -- can call #re_render_form without an arg (for when you know params[:page_path] is set)
Support for non-numeric model IDs
Rails has no problems with these but Hobo was assuming integer IDs in a few places.
Fix to default ApplicationController#home_page -- was broken when the app lives in a sub-directory
Rapid -- allow '-' instead of '_' in (and therefore, and