Skip to content
This repository has been archived by the owner on Nov 17, 2018. It is now read-only.

Allow options to be set with a proc/lambda #33

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

unreal
Copy link

@unreal unreal commented Feb 5, 2013

I needed to be able to set the default gravatar image based on the actual object instance.

example:

class User
  # default image is the first letter of the user's first name
  gravtastic default: lambda { |u| "http://assets.example.com/#{u.first_name[0]}.jpg" }

@VadimPushtaev
Copy link
Contributor

That's cool, but you should update doc as well.

@unreal
Copy link
Author

unreal commented Feb 7, 2013

Hope this looks ok!

@terracatta
Copy link

Wish this could have been merged. Need this functionality as well.

@alejorivera
Copy link

Hey! Just wondering why this hasn't been merged? Would love to have this functionality as well.

@VadimPushtaev
Copy link
Contributor

Looks like the author abandons this project. He ignores letters and comments about this for a while.

@vjcharles
Copy link
Collaborator

I thought I had push rights to this repos but it seems my boss got them as I committed it on his machine ages ago.
Perhaps some of the other contributors given access by @chrislloyd can chime in: @xaviershay, @gohanlon, @moorage, @salted, @ jeffkreeftmeijer, @achiu.

If that doesn't work, I suppose someone passionate about this project can take over with their fork...
Good luck!

@vjcharles
Copy link
Collaborator

@jeffkreeftmeijer, ping.

@hayksaakian
Copy link

@vjcharles looks like you have the collaborator tag here no?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants