self.start indeed returns a nil value but the strange this is that it
is when I look at the self.attributes -> start in the debugger it is
correctly filled in. Is start a name you can't use in rails?

Regards,
Stijn

On 18 sep, 23:21, Frederick Cheung <[EMAIL PROTECTED]> wrote:
> On Sep 18, 10:19 pm,Tarscher<[EMAIL PROTECTED]> wrote:
>
>
>
> > This results in You have a nil object when you didn't expect it!
> > The error occurred while evaluating nil.<=
>
> It's not telling you that self is nil (which as you point out it isn't
> usually), it's telling you that self.start is nil.
>
> Fred
>
>
>
> > The strange thing is that self is definatly not nil? Is this a problem
> > with DateTime.now()?
>
> > regards,
> > Stijn
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to