Skip to content

Instantly share code, notes, and snippets.

View c3mediagroup's full-sized avatar

Robert Pierce c3mediagroup

View GitHub Profile
def advisor
@license = 'LTAM663SPJLO.945CWK-2XOI1X0-7L'
advisor = Advisor.find(params[:id])
category = params[:category]
case category
when 'fixed'
chart_years = advisor.fixed_product_years.find_all_by_year(@year_num)
when 'combined'
chart_years = advisor.categorical_years.find_all_by_year(@year_num)
else
~/www/railsmachine/statusroom(upstream) > rake
(in /Users/rpierce/www/railsmachine/statusroom)
/usr/local/bin/ruby -I"/Users/rpierce/www/railsmachine/statusroom/lib" -I"/Users/rpierce/www/railsmachine/statusroom/test" "/Users/rpierce/.gem/ruby/1.8/gems/rake-0.8.4/lib/rake/rake_test_loader.rb" "test/functional/accounts_controller_test.rb" "test/functional/advisors_controller_test.rb" "test/functional/club_reports_controller_test.rb" "test/functional/dashboard_controller_test.rb" "test/functional/expense_allowances_controller_test.rb" "test/functional/manager_controller_test.rb" "test/functional/notes_controller_test.rb" "test/functional/performance_controller_test.rb" "test/functional/policies_controller_test.rb" "test/functional/policy_events_controller_test.rb" "test/functional/premiums_controller_test.rb" "test/functional/reports_controller_test.rb" "test/functional/staff_controller_test.rb" "test/functional/teams_controller_test.rb" "test/functional/underwritings_controller_test.rb" "test/functional/users_
~/www/railsmachine/statusroom(upstream) > rake
(in /Users/rpierce/www/railsmachine/statusroom)
/usr/local/bin/ruby -I"/Users/rpierce/www/railsmachine/statusroom/lib" -I"/Users/rpierce/www/railsmachine/statusroom/test" "/Users/rpierce/.gem/ruby/1.8/gems/rake-0.8.4/lib/rake/rake_test_loader.rb" "test/functional/accounts_controller_test.rb" "test/functional/advisors_controller_test.rb" "test/functional/club_reports_controller_test.rb" "test/functional/dashboard_controller_test.rb" "test/functional/expense_allowances_controller_test.rb" "test/functional/manager_controller_test.rb" "test/functional/notes_controller_test.rb" "test/functional/performance_controller_test.rb" "test/functional/policies_controller_test.rb" "test/functional/policy_events_controller_test.rb" "test/functional/premiums_controller_test.rb" "test/functional/reports_controller_test.rb" "test/functional/staff_controller_test.rb" "test/functional/teams_controller_test.rb" "test/functional/underwritings_controller_test.rb" "test/functional/users_
- if RAILS_ENV == "production"
%script{ :type => "text/javascript" }
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
%script{ :type => "text/javascript" }
var pageTracker = _gat._getTracker("UA-3794127-4");
pageTracker._trackPageview();
~/www/railsmachine/statusroom(upstream) > git pull
remote: Counting objects: 39, done.
remote: Compressing objects: 100% (26/26), done.
remote: Total 26 (delta 23), reused 0 (delta 0)
Unpacking 26 objects...
100% (26/26) done
* refs/remotes/origin/upstream: fast forward to branch 'upstream' of [email protected]:c3mediagroup/statusroom
old..new: efce0f4..3fe1539
app/views/performance/setup_data.html.haml: needs update
Merge made by recursive.
~/www/railsmachine/statusroom(_rptesting) > git co staging
D vendor/plugins/navigation_helper
Switched to branch "staging"
~/www/railsmachine/statusroom(staging) > git merge _rptesting
Updating 07fdb3f..79a9fc9
vendor/plugins/navigation_helper: needs update
Checking 416 files out...
100% (416/416) done
Fast forward
.gitignore | 4 +
#tabs
:position absolute
:top 30px
:z-index 300
:width 100%
a
:color #fff
// Mega Menu
~/www/railsmachine/statusroom(pacificadvisors) > cap pacificadvisors deploy:rollback
* executing `pacificadvisors'
triggering start callbacks for `deploy:rollback'
* executing `multistage:ensure'
* executing `deploy:rollback'
* executing `deploy:rollback_code'
* executing "ls -x /srv/statusroom/releases"
servers: ["vm01.statusroom.c3media.managedmachine.com"]
[vm01.statusroom.c3media.managedmachine.com] executing command
command finished
385dfe6... HEAD@{0}: reset --hard HEAD@{225}
d77cfb8... HEAD@{1}: reset --hard HEAD^
afa2fcb... HEAD@{2}: reset --hard HEAD^
60742f7... HEAD@{3}: reset --hard HEAD^
0372e24... HEAD@{4}: reset --hard HEAD^
219a3ab... HEAD@{5}: reset --hard HEAD^
d028f07... HEAD@{6}: reset --hard HEAD^
3ed5d84... HEAD@{7}: reset --hard HEAD^
14a9401... HEAD@{8}: reset --hard HEAD^
c1f1784... HEAD@{9}: reset --hard HEAD^
~/www/railsmachine/statusroom(pacificadvisors) > cat .git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = [email protected]:c3mediagroup/statusroom.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]