Search code examples
ruby-on-railsgravatar

how do I set as an option d=identicon when using the gravatar plugin?


I have set up the gravatar RoR plugin successfully (yeah!) but when someone does NOT have a gravatar account, I want it to display the identicon, which I guess shows up when d=identicon in the gravatar URL...but since I am using the plugin, I am basically saying gravatar_for (user) so...is there a way to add that value?

Thanks!


Solution

  • If you are using gravtastic you can probably get it to work by doing the following in your model

    is_gravtastic, :default => "identicon"