Hi all. I'm trying to get gravtastic working at my comments model, so
I'm
doing this:
class Comment < ActiveRecord::Base
validates_presence_of :commentary
belongs_to :commentary, :polymorphic => true
attr_accessor :anon
is_gravtastic :rating => 'R',
:size => 40 ,
:default => "/images/no_gravatar.png"
end
My doubt is: using comment.gravatar_url gives me the following:
http://gravatar.com/avatar/HASH.png?d=%2Fimages%2Fno_gravatar.png&r=R&s=40
And it doesn't renders my image correctly. How can I get my full
application
URL as http://my.domain.tld/app/images/no_gravatar.png ?
Thanks,
--
Davi Vidal
--
E-mail: davividal arroba siscompar ponto com ponto br
MSN : davividal arroba msn ponto com
GTalk : davividal arroba gmail ponto com
Skype : davividal
YIM : davi_vidal
ICQ : 138815296
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---