Last active
August 29, 2015 14:01
-
-
Save k1ife/0ec82a2cd8deb13b82e2 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
Amenity.first.attributes.except("id").keys.each do |ama| | |
puts ama | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment