Sha256: d4070990d7a0ed7e146fd18914876d31c84f5eab348aa45ab889785441b40b8c

Contents?: true

Size: 1.26 KB

Versions: 6

Compression:

Stored size: 1.26 KB

Contents

= Migration

Nitro and Og are under constant development. Some times we 
really have to introduce features that break the compatibility 
with older versions. This documents describes the required 
steps to port your application to the latest Nitro version.

For more help, send your question to the mailing list:

http://rubyforge.org/mailman/listinfo/nitro-general


== 0.21.2 <- 0.21.0

1. The new 'nice' dispatching alogirthm is enabled by default. If
your app needs more general url dispatching you can enable the
old dispatcher with the following line:

require 'nitro/dispatcher/general'


== 0.21.0 <- 0.20.0

1. The helper methods for starting the application and defining
the compilation pipeline have changed. Have a look at 
'examples/blog/run.rb' for an example.

2. The conventions for the generated join table for many_to_many
have changed, you may have to regenerate your schema.

3. The builder functionality is provided by mixins now.

4. The markup interpolators have changed. Instead of {{..}} use
#(..) (sanitize) or #|..| (full markup). For details have a look
at lib/nitro/compiler/markup.rb

5. Actions no longer automatically redirect to the referer if the
output buffer is empty. You have to manually redirect. There is an option to switch on the old behaviour though.

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
nitro-0.21.2 doc/MIGRATION
nitro-0.23.0 doc/MIGRATION
nitro-0.25.0 doc/MIGRATION
nitro-0.26.0 doc/MIGRATION
nitro-0.22.0 doc/MIGRATION
nitro-0.24.0 doc/MIGRATION