Skip to content

Instantly share code, notes, and snippets.

@drewlesueur
Created December 13, 2010 04:32
Show Gist options
  • Save drewlesueur/738658 to your computer and use it in GitHub Desktop.
Save drewlesueur/738658 to your computer and use it in GitHub Desktop.
Things that make me go Grr in rails

GRR Rails

I am learning Rails.

Here are the things that make me go GRR

  1. I see code like this MyModel.like "apples". Is there any documentation on that? or did someone write the method like? Is there a cool way to do likes relationally?
@drewlesueur
Copy link
Author

Here I didn't realize that the .like was a named_scope

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment