how do you suggest to make it cater for fallbacks that doesn't necessarily
belong to a method
in the object?
e.g.:

user.name.blank? ? user.name : "An arbitrary value"

--stephen


On Thu, Jan 29, 2009 at 7:47 PM, [email protected] <
[email protected]> wrote:

>
>
> On Jan 29, 10:59 am, "[email protected]"
> <[email protected]> wrote:
> >   >> user.bumblebee
> > (:full_name, :email, :something_else, :another_fallback)
>
> I cemented the BumbleBee in a gist.
>
>  http://gist.github.com/54501
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to