go94022
unread,Nov 15, 2009, 2:26:00 AM11/15/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ramaze
Running the todolist example on Windows with Ruby 1.9.1-p243.
Doesn't work, get a nothing mapped yet exception.
However, things work if one line is removed from controller/init.rb:
module TodoList
class Controller < Ramaze::Controller
layout :default
engine :Etanni
helper :form
# trait :app => :todolist
end
end
require 'controller/task'
I have not found many samples that work with 2009-07 and 1.9.
Ramaze 2009-07 has been out, well, since July (obviously), and it's a
little disappointing that basic examples don't work months later.
Layout, engine, helper -- it's pretty clear what's going on but it
seems unnecessary complication to include the trait configuration in a
"tutorial" with no explanation.
I also tried to look up what the trait: does, but did not see it in
the docs. Obviously I'm new to all this so may have missed something.