add pt-BR locale (thanks @prem-prakash)
- Fix for namespace tabs when database table does not exist yet.
- Add namespace tabs in rails_admin
- Add code type with codemirror (requires glebtv-ckeditor)
- Fixed Paperclip installation checking #6. Thx @tanelj
- Add boolean data type #2. Thx @teonimesic
- Fix file type
- Support ActiveRecord
Disable auto migrate. To migrate from 0.8 run:
RailsAdminSettings.migrate!
Settings.ns(ns) now defaults to fallback to Settings.ns_fallback If you want an NS without fallback, specify nil: Settings.ns(ns, fallback: nil)
- Added ActiveRecord support
- [!!!] Type renamed to Kind to avoid messing with AR STI column
Rename it in all invocations, then run migrate DB with:
RailsAdminSettings.migrate!
- Added namespaced settings
- Added loading of default settings from config/settings.yml
- Settings.label(key) is removed
- Added Settings.apply_defaults! to load settings from yml file without overwriting current settings. note: If setting type is changed and old value does not pass validation for new type, value will be reset to nil.
- Added rake settings:save_defaults to dump current settings to config/defaults.yml