lib/zena/zafu_compiler.rb in zena-1.0.0.beta2 vs lib/zena/zafu_compiler.rb in zena-1.0.0.beta3
- old
+ new
@@ -1,16 +1,20 @@
require 'zafu'
module Zena
+ # FIXME: replace with (and make sure all is ok!)
+ # ZafuCompiler = Zafu.parser_with_rules(Zafu::All + Zena::Use.modules_for('Zafu'))
+
ZafuCompiler = Zafu.parser_with_rules([
Zafu::All,
Zena::Use::Conditional::ZafuMethods,
Zena::Use::Context::ZafuMethods,
- Zena::Use::Display::ZafuMethods,
Zena::Use::Urls::ZafuMethods,
Zena::Use::ZafuAttributes::ZafuMethods,
Zena::Use::ZafuEval::ZafuMethods,
Zena::Use::QueryBuilder::ZafuMethods,
+ # Has to come after QB
+ Zena::Use::Display::ZafuMethods,
Zena::Use::I18n::ZafuMethods,
Zena::Use::Action::ZafuMethods,
Zena::Use::Dates::ZafuMethods,
Zena::Use::Forms::ZafuMethods,
Zena::Use::Recursion::ZafuMethods,
\ No newline at end of file