Ruby on Rails Thursday, December 30, 2010

On 30 December 2010 18:04, Frederick Cheung <frederick.cheung@gmail.com> wrote:
> On Dec 30, 5:04 pm, Eduardo Yáñez Parareda <eduardo.ya...@gmail.com>
> wrote:
>> Well, I've just tested with "none" and 'none' and I've got the same
>> error.
>>
> I think symbol/string confusion is the problem

Gah! I didn't even look at the methods... why overload them? oh well,
I'm sure there's a perfectly valid reason</cynical disbelief>

So Eduardo, change the constant:
SPECIAL_FEATURES = [:none, :top]

...does that do it?

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment