Re: Extending methods in the module Inflector ?

Radek Hnilica
2005-07-19T17:37:45Z

On Tue, Jul 19, 2005 at 01:14:29PM -0400, Sean T Allen
wrote:
>
http://api.rubyonrails.com/classes/ActionController/Scaffolding/ClassMethods.html#M000107
>
> scaffold(model_id, options = {})

...cut...

I wrote following into controller:
class PokusController < ApplicationController
    scaffold :pokus, :class_name => ''Pokus''
    def seznam
        @pokus_pages, @pokusy = paginate :pokus, :per_page =>20, :class_name
=> ''Pokus''
    end
end

What I''m doing wrong?  Still do not work. The same error.
uninitialized constant Poku
This error occured while loading the following files:
   poku.rb

the method seznam seems to be right.  But scaffolding no.