well, i got it ...

I18N doesn't support the .l - method in models for active-record
errors.

my fault ...

On 3 Mai, 17:42, lakai <[email protected]> wrote:
> Hi,
>
> I currently upgraded from an older CE Version to the current one
> supporting Rails 2.2.2. When starting mongrel everything works fine,
> the whole application based on CE works perfectly.
> When I try to run my functional or unit - tests i get the following
> exception after  "** Execute test:units":
>
> .../app/models/message.rb:6: undefined method `l'
> for :may_not_be_empty:Symbol (NoMethodError)
>
> The line 6 in message.rb (one of our own models) is:
>
> validates_presence_of :subject, :message => :may_not_be_empty.l
>
> Hope someone can help me out of this! I'm sure its a minor
> configuration error but i can't find it!
>
> Thanks in advance!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CommunityEngine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/communityengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to