Skip to content

Instantly share code, notes, and snippets.

@elbartostrikesagain
Created February 14, 2014 21:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elbartostrikesagain/9009618 to your computer and use it in GitHub Desktop.
Save elbartostrikesagain/9009618 to your computer and use it in GitHub Desktop.
Geddy for Rails Developers
Rails => Geddy
**Models**
User.new(params) => User.create(params);
-----
User.create(params) => var u = User.create(params);
// saves the user then calls the callback function
u.save(function (err, data) { // do things });
-----
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment