Sha256: 177d4c8133e47c8673afe25c8c7d6631e448483a7f61fdd02a9e3ba4046ca6f1

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 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.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

1 entries across 1 versions & 1 rubygems

Version Path
nitro-0.21.0 doc/MIGRATION