Last active
February 22, 2017 00:45
-
-
Save Fernan2/09ba62b493237ad22ef76b0553a0dc65 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
validates :name, presence: true | |
def my_method | |
item.method | |
if subscriber&.valid? | |
workdays = %w(lun mar mie jue vie) | |
@user ||= User.current | |
:key => 'My value' | |
key: 'My value' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment