Skip to content

Instantly share code, notes, and snippets.

@zedtux
Created October 8, 2016 11:57
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 zedtux/5ffe0039be922188e911e27f5af071a9 to your computer and use it in GitHub Desktop.
Save zedtux/5ffe0039be922188e911e27f5af071a9 to your computer and use it in GitHub Desktop.
Updated Right model with deprecate method
class Right
has_many :right_levels
deprecate :levels, :right_levels
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment