View gtportugal.conf
upstream gtportugal {
# Path to Unicorn SOCK file, as defined previously
server unix:/tmp/unicorn.gtportugal.sock fail_timeout=0;
}
server {
listen 80;
#server_name gtportugal.simaobelchior.net;
server_name localhost;
View change_type.rb
class ChangeType < ActiveRecord::Base
attr_accessible :listing_change_id, :name
include Dictionary
build_dictionary :addition, :deletion, :reservation, :reservation_withdrawal
end
View _ordering.html.erb
<%#PATH: app/views/products/ %>
<% if !product.first? %>
<%= link_to image_tag("ordering_icons/up.gif", :alt => "up", :title => "Move up"), move_up_product_path(product), :method => :put, :remote => true %>
<% end %>
<% if !product.last? %>
<%= link_to image_tag("ordering_icons/down.gif", :alt => "down", :title => "Move down"), move_down_product_path(product), :method => :put, :remote => true %>
<% end %>
View _attachment_fields.html.erb
<div class="attachment fields">
<%= f.label :caption %>
<%= f.file_field :document %>
<%= link_to_remove_fields "remove", f %>
</div>
View manifest_files
#application.js
//= require jquery
//= require jquery_ujs
//= require_self
//= require_tree .
/* rest of file omitted */
#application.css
View crontab_list
# Begin Whenever generated tasks for: backups
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
32 11 * * * /bin/bash -l -c 'backup perform -t db_name -c ~/Backup/db_name.rb >> ~/Backup/log/whenever_cron.log 2>&1'
0 0 1 12 * /bin/bash -l -c 'backup perform -t db_name -c ~/Backup/db_name_yearly.rb >> ~/Backup/log/whenever_cron.log 2>&1'
0 0 1 * * /bin/bash -l -c 'backup perform -t db_name -c ~/Backup/db_name_monthly.rb >> ~/Backup/log/whenever_cron.log 2>&1'