gravtastic
gravtastic copied to clipboard
Allow options to be set with a proc/lambda
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" }
That's cool, but you should update doc as well.
Hope this looks ok!
Wish this could have been merged. Need this functionality as well.
Hey! Just wondering why this hasn't been merged? Would love to have this functionality as well.
Looks like the author abandons this project. He ignores letters and comments about this for a while.
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!
@jeffkreeftmeijer, ping.
@vjcharles looks like you have the collaborator tag here no?