Skip to content

Instantly share code, notes, and snippets.

@rilian
Last active March 23, 2017 11:23
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rilian/8ca2ef7d52ca0181f0db to your computer and use it in GitHub Desktop.
Save rilian/8ca2ef7d52ca0181f0db to your computer and use it in GitHub Desktop.
structure for rails models
includes
relations
constants
delegate
nested_attributes
before callbacks
after_callbacks
validations
custom validations
scopes
custom search scopes (like ransacker)
class methods
instance methods
private methods
@rilian
Copy link
Author

rilian commented May 28, 2016

bump

@ivanovaleksey
Copy link

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