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
!REST! 41459 - Finished call with code 200 http://test.auth.exclaim.com:8090/authorization/storagedetails {:auth_token=>"tL+pnkpnJvBCkDP2IPvkWqJzwg6DEeC56/uCCH34FoFLaubZJsm4TsAgnprGnBx2jN0X4uoV2YW1JFarQFSwXegKrkcwQOI8mooWUl5eE7PdFnPLh5/TOQ=="} Tue May 15 13:58:06 -0400 2012 0.697059 | |
INFO 13:58:06 VKajjams-MacBook-Pro.local User[41459]: !!! User call failed, allowed_storage,[]: uncaught throw `API call failed for 'http://test.auth.exclaim.com:8090/authorization/storagedetails'with error " Something went wrong in Snap Sync Server. Please try again later!"' in thread 0x12aeb1690 | |
DEBUG 13:58:06 VKajjams-MacBook-Pro.local User[41459]: Here in create_additional_methods with method=used_storage, auth_token=tL+pnkpnJvBCkDP2IPvkWqJzwg6DEeC56/uCCH34FoFLaubZJsm4TsAgnprGnBx2jN0X4uoV2YW1JFarQFSwXegKrkcwQOI8mooWUl5eE7PdFnPLh5/TOQ== | |
INFO 13:58:06 VKajjams-MacBook-Pro.local User[41459]: !!! User call failed, used_storage,[]: uncaught throw `API call failed for 'http://test.auth.exclaim.com:8090/authorization/storagedetails |
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
cap deploy:cold | |
* executing `deploy:cold' | |
* executing `deploy:update' | |
** transaction: start | |
* executing `deploy:update_code' | |
executing locally: "git ls-remote . HEAD" | |
command finished in 70ms | |
* getting (via checkout) revision 30f97ac04d9c27049fc553453e3eb05ad3aca518 to /var/folders/th/vgpmj65x1_b2k_wdkmfv12yh0000gn/T/20120208040225 | |
executing locally: git clone -q . /var/folders/th/vgpmj65x1_b2k_wdkmfv12yh0000gn/T/20120208040225 && cd /var/folders/th/vgpmj65x1_b2k_wdkmfv12yh0000gn/T/20120208040225 && git checkout -q -b deploy 30f97ac04d9c27049fc553453e3eb05ad3aca518 | |
command finished in 244ms |
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
set :application, "paperclip_sample_app" | |
set :deploy_to, "/var/www/apps/#{application}" | |
set :deploy_via, :copy | |
set :scm, :git | |
set :repository, "." | |
# Or: `accurev`, `bzr`, `cvs`, `darcs`, `git`, `mercurial`, `perforce`, `subversion` or `none` | |
#default_run_options[:pty] = true |
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
# SQLite version 3.x | |
# gem install sqlite3-ruby (not necessary on OS X Leopard) | |
development: | |
adapter: mysql | |
encoding: utf8 | |
database: fiji_development | |
reconnect: false | |
pool: 5 | |
username: root | |
password: |
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
The possible prefetch for albums show url is | |
("/users/46641/albums/45103.xml", {:owner=>true, :per_page=>12, :page=>1}, {:url_prefix=>"http://staging.mobicious.com"}) | |
this could change if we are viewing a friends album or we are logged out to | |
("/users/46641/albums/45103.xml", {:owner=>false, :per_page=>12, :page=>1, :hidden =>0}, {:url_prefix=>"http://staging.mobicious.com"}) | |
("/users/46641/albums/45103.xml", {:owner=>false, :per_page=>12, :page=>1, :hidden =>0, :privacy => 0}, {:url_prefix=>"http://staging.mobicious.com"}) | |
My question is should we prefectch all these calls as we would not know in advance which params are passed until the condition is actually called? |
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
<% | |
@path = "#{RUBBER_ROOT}/config/settings.yml" | |
%> | |
<% if RUBBER_ENV == 'production' %> | |
silhouette_base_url: 'http://api.mobicious.com' | |
upload_domain: 's2t.vg' | |
public_key: '8ExF2ZhRF3ocFpyY0sqpngb69wcMLXMaF8eAL/jf6D0=' | |
private_key: 'wBsc9MYxmUY1OiHXIAc43Q==' |
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
New Developer Setup | |
READING | |
You can find the old wiki dump, of which some of these pages are based off of, attached as a pdf at the bottom of this page. | |
[new dev pages start around pg 170, additional tips at the end of the pdf... some info is outdated, so look here first] | |
The Pragmatic Programmers have a few solid books that are considered essential reading within the ruby community: | |
Programming Ruby 1.9 "The Pickaxe Book" (we aren't using 1.9 yet but moving our code from 1.8 to 1.9 is a priority) [ http://pragprog.com/titles/ruby3/programming-ruby-1-9 ] | |
Agile Web Dev w/ Rails 4.0 (in beta right now & covers Rails 3.0 exclusively, which we aren't on. The 3rd ed. is recommended for now.) |
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
# SQLite version 3.x | |
# gem install sqlite3-ruby (not necessary on OS X Leopard) | |
development: | |
adapter: mysql | |
encoding: utf8 | |
database: fiji_development | |
reconnect: false | |
pool: 5 | |
username: root | |
password: |
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
<h3><%= pluralize(comments.count, 'Comment') %></h3> | |
<ul> | |
<% for comment in comments do -%> | |
<%= escape_javascript(render :partial => 'photos/comment', :locals => { :comment => comment }) %> | |
<% end -%> | |
</ul> |