Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby Build a Simple Ruby on Rails Application Deploying Adding Gravatars

benjamin perodeau
benjamin perodeau
7,469 Points

progress, stunted

I get this far, thanks to the helpful error message.

class User < ActiveRecord::Base
  def gravatar_url
end

The rest of the error messages are 'bummer! [truer words...] try again!' I hope we loop back and beef those error messages up. Meanwhile, I'm hoping somebody will throw me a bone. Please.

2 Answers

If you define a method, you have to end it, as well. And a method will return the last line inside the method, and you need the email. If this doesn't help, try re-watching the video before the challenge, the answer is right in there.

Calvin Nix
Calvin Nix
43,828 Points

Hey Benjamin,

You didn't complete defining the function. You never ended it. :) Hope that helps