This file contains hidden or 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
## | |
# Will keep all passed in attributes in the `attributes` attribute | |
# But will allow you to pull out certain attributes that you want as | |
# getters and setters. Great for accessing with `random_object.some` | |
# | |
class RandomObject | |
WANTED_ATTRS = [:some, :attrs, :you, :want] | |
attr_accessor :attributes, *WANTED_ATTRS |
This file contains hidden or 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
server { | |
listen 80; | |
server_name example.com; | |
root /home/deploy/apps/example.com/public; | |
index index.html index.php; | |
client_max_body_size 1G; | |
fastcgi_buffers 64 4K; | |
location / { |
NewerOlder