[Nitro] Q about helper :form

Alexander Lazic al-nitrogen at none.at
Sat Aug 5 03:03:57 EDT 2006


On Sam 05.08.2006 14:07, Michael Fellinger wrote:
>yes, please require 'part/admin' after the other stuff... that should
>fix it :)

Nope.

---
ruby demo.rb -m --debug
./controller.rb:2: undefined method `helper' for Hello:Class (NoMethodError)
        from /home/al/progs/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from demo.rb:9
---
demo.rb
---
require 'rubygems'
# or
# ruby -rubygems demo.rb

require 'nitro'
require 'og'

require 'model'
require 'controller'

require 'part/admin'


# default sqllite
Og.start

Nitro.start Hello
---

I have also remove the 'part/admin' but i get the same error :-(

I'am not sure but have:

/home/al/progs/ruby/lib/ruby/gems/1.8/gems/nitro-0.31.0/lib/nitro/helper/form.rb

anything to with this and if yes when would this be required into the
nitro framwork?

regards

Alex


More information about the Nitro-general mailing list