Last active
February 21, 2017 23:40
-
-
Save Fernan2/4e33e9b1092ea15195fc327aca115fed 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 && subscriber.valid? | |
workdays = ["lun", "mar", "mie", "jue", "vie"] | |
@user = @user || User.current | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment