Just a little tip that can save some time. Before rails 2.3.x you should define the new table name like
CGI::Session::ActiveRecordStore::Session.set_table_name “new_table_name”
Now you have to define it like that
ActiveRecord::SessionStore::Session.set_table_name “new_table_name”
I tried many things before decide to extend the framework. But did not get stisfied with the avaliable solutions. So here it is.
Just put the code bellow in some initializer.
I just create a script that will automatically install gitorious in a ubuntu server.
If you are having troubles installing it, you can try the script or take a look in what it does.
http://github.com/marcelomurad/rails-env-install/
The default rails error message style is to insert a div with attribute class set to fieldWithErrors involving the form field.
That is how I’ve changed the default rails behaviour to inject css error class into the object.