This version was in the making for ages, so there are some changes you need to make to port your application to the new version. Here come some tips to help you:
! always specify the type after attr_accessor or it will not be recognized as a Og managed class !
example model:
class Entry attr_accessor :title, String attr_accessor :hits, Fixnum end
OgModel.serializable_attributes instead of OgModel.properties
Postgresql store has be renamed from psql to postgresql
example:
Og.manager_options = { :evolve_schema => :add, :store => 'postgresql', :name => 'dbname', :user => 'username', :password => '' } Og.start
so for setting a style for your controls:
Nitro::TextareaControl.style = '' Nitro::TextControl.style = '' Nitro::PasswordControl.style = ''
Nitro::Template.root = 'template'
The 'Markup' compiler is renamed to 'MarkupCompiler'
action template annotation changed from :view to :template
def my_action .. end ann :my_action, :template => :another_template
FormHelper got reimplemented and works differently now. See Question 84 for usage of the new FormHelper.