In my enviroment I have
require "lib/string"
lib/string.rb is like this:
#encoding: utf-8
class String
def downcase
self.tr 'QWERTZUIOPASDFGHJKLYXCVBNMŠĐŽČĆ',
'qwertzuiopasdfghjklyxcvbnmšđžčć'
end
end
I need it to cast to lower case for special (Croatian characters).
That is causing the error. If I remove that require, it works as
expected.
Do you have any ideas why is this error ocurring?
Kresimir Bojcic
> I've tried it on my production machine - I get sameerror. So I don't
> think is't machine specific.
>
> Kreso
>
> On May 24, 5:16 am, Nathan Weizenbaum <
nex...@gmail.com> wrote:
>
> > Very verystrange. How about this: '= h
> > > > > > > > Verystrange. Do other filters work?
>
> > > > > > > > On Sat, May 22, 2010 at 5:29 PM, drKreso <
> > >
kresimir.boj...@gmail.com>
> > > > > > > wrote:
> > > > > > > > > {:major=>3, :minor=>0, :teeny=>4, :name=>"Classy
> > > > > > > > > Cassidy", :number=>"3.0.4", :string=>"3.0.4 (Classy Cassidy)"}
>
> > > > > > > > > On May 23, 2:25 am, Nathan Weizenbaum <
nex...@gmail.com>
> > > wrote:
> > > > > > > > > > I'm guessing that you have an old Haml installation in your
> > > Rails
> > > > > > > app. If
> > > > > > > > > > you put "= h Haml.version.inspect" in your template, what do
> > > you
> > > > > get?
>
> > > > > > > > > > On Sat, May 22, 2010 at 5:12 PM, drKreso <
> > > > >
kresimir.boj...@gmail.com>
> > > > > > > > > wrote:
> > > > > > > > > > > But "same" thing over the firefox I get
>
> > > > > > > > > > > Haml::Errorin Izvjestaji#ucestalost_po_rasvjetnom_mjestu
> > > > > > > > > > > > > > > > > > I get theerrorFilter "javascript" is not
> ...
>
> read more »