Hello,
I now have the rails-3.2 branch of Hobo fixed up so that it passes all
of our unit & integration tests (if you hack the tests so that
config.active_record.whitelist_attributes = false)
Notes:
- If you generate a new application, Rails 3.2.3 and greater sets
config.active_record.whitelist_attributes = true in your
application.rb. You're welcome to leave it at that, but it's usually
not necessary in a Hobo application, since Hobo has always patched
mass assignment for it's permission system. Either turn this feature
off or add an appropriate attr_accessible statement to all of your
models.
- You will have to use git://
github.com/bryanlarsen/will_paginate
instead of the will_paginate gem on rubygems.
To try it out in your application, modify your Gemfile to include:
gem 'rails', '3.2.6'
gem "hobo_support", :git => "git://
github.com/tablatom/hobo", :branch
=> "rails-3.2"
gem "hobo_fields", :git => "git://
github.com/tablatom/hobo", :branch
=> "rails-3.2"
gem "dryml", :git => "git://
github.com/tablatom/hobo", :branch => "rails-3.2"
gem "hobo", :git => "git://
github.com/tablatom/hobo", :branch => "rails-3.2"
gem "hobo_rapid", :git => "git://
github.com/tablatom/hobo", :branch =>
"rails-3.2"
gem "hobo_clean", :git => "git://
github.com/tablatom/hobo", :branch =>
"rails-3.2"
gem "hobo_jquery", :git => "git://
github.com/tablatom/hobo", :branch
=> "rails-3.2"
gem "hobo_jquery_ui", :git => "git://
github.com/tablatom/hobo",
:branch => "rails-3.2"
gem "will_paginate", :git => "git://
github.com/bryanlarsen/will_paginate"
Keep in mind that I've only run unit & integration tests on this
branch -- it's still very much alpha quality. But the best way to
shake out any bugs is to try it in apps. So if you are brave enough
to do so, that would be appreciated.
thanks,
Bryan