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
rails@vm01:/srv/statusroom/current$ grep "HORNBUCKLE" /srv/statusroom/current/reports/* -R | |
/srv/statusroom/current/reports/changes-list.txt:"L "," ","Morris Adrienne ","HORNBUCKLE RONALD J ","SUBM","2009-05-15"," 000172500.","GLT20 ","A"," 000000112.00"," 000000112.00 "," 00000000.00","P ","FORM REQUESTED ","2009-05-15",#NULL#,"LH554"," 0.3000 ","LH554"," ","6412463 "," ","1"," "," " | |
/srv/statusroom/current/reports/changes-list.txt:"L "," ","Morris Daniel ","HORNBUCKLE RONALD J ","SUBM","2009-05-15"," 000330000.","GLT15 ","A"," 000000277.00"," 000000277.00 "," 00000000.00","P ","FORM REQUESTED ","2009-05-15",#NULL#,"LH554"," 0.3000 ","LH554"," ","6412587 "," ","1"," "," " | |
/srv/statusroom/current/reports/underwriting-20090516.txt:"L "," ","Morris Adrienne ","HORNBUCKLE RONALD J ","SUBM","2009-05-15"," 000172500.","GLT20 ","A"," 000000112.00"," 000000112.00 |
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
Processing AdvisorsController#club_credits (for 127.0.0.1 at 2009-06-05 04:39:05) [GET] | |
Session ID: 0abb6ea73c759ba9412be57e69d1926b | |
Parameters: {"action"=>"club_credits", "id"=>"18", "controller"=>"advisors"} | |
Account Columns (126.8ms) SHOW FIELDS FROM `accounts` | |
Account Load (116.0ms) SELECT * FROM `accounts` WHERE (`accounts`.`full_domain` = 'pacificadvisors.statusroom.dev') LIMIT 1 | |
User Columns (124.8ms) SHOW FIELDS FROM `users` | |
User Load (119.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 4 AND (`users`.account_id = 1)) | |
Footprint Load (123.2ms) SELECT * FROM `footprints` WHERE (`footprints`.user_id = 4) ORDER BY updated_at DESC LIMIT 50 | |
Footprint Columns (2.0ms) SHOW FIELDS FROM `footprints` | |
Footprint Load (0.6ms) SELECT * FROM `footprints` WHERE (path LIKE "%advisor%") AND (`footprints`.user_id = 4) LIMIT 20 |
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
~/www/railsmachine/statusroom(02-more-ziya-work) > grep Chart * -R | |
app/controllers/advisors_controller.rb: @runrate_chart_image = (chart = Chart.new(year)).generate | |
app/controllers/advisors_controller.rb.BASE.46856.rb: @runrate_chart_image = (chart = Chart.new(year)).generate | |
app/controllers/advisors_controller.rb.orig: @runrate_chart_image = (chart = Chart.new(year)).generate | |
app/controllers/application.rb: main.item "Performance", :link => performance_path, :description => "Charting and Reports" do |perf| | |
app/controllers/charts_controller.rb:class ChartsController < ApplicationController | |
app/controllers/charts_controller.rb: chart = Ziya::Charts::Line.new(LICENSE, "company_premiums") | |
app/controllers/charts_controller.rb: chart = Ziya::Charts::Mixed.new(LICENSE, "advisor_premium") | |
app/controllers/charts_controller.rb: chart = Ziya::Charts::Mixed.new(LICENSE, "company_runrate") | |
app/controllers/charts_controller.rb: chart_data = Chart.new(chart_years) |
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
class ChartsController < ApplicationController | |
LICENSE = 'LTAM663SPJLO.945CWK-2XOI1X0-7L' | |
PERFORMANCE_METRIC_0 = {:metric => 33500, :label => "APR"} | |
PERFORMANCE_METRIC_1 = {:metric => 88500, :label => "Leader's Club"} | |
PERFORMANCE_METRIC_2 = {:metric => 180000, :label => "Executive Club"} | |
PERFORMANCE_METRIC_3 = {:metric => 291500, :label => "President's Council"} | |
PERFORMANCE_METRIC_4 = {:metric => 518200, :label => "Chairman's Club"} | |
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
>> puts Chart.methods.sort | |
< | |
<= | |
<=> | |
== | |
=== | |
=~ | |
> | |
>= | |
__attribute__ |
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
# == Schema Information | |
# Schema version: 20090427120907 | |
# | |
# Table name: notes | |
# | |
# id :integer(4) not null, primary key | |
# comment :text | |
# advisor :boolean(1) | |
# manager :boolean(1) | |
# executive :boolean(1) |
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
rocessing AdvisorsController#profile (for 127.0.0.1 at 2009-06-06 00:49:03) [GET] | |
Session ID: 5bd5025fcf441bb8d7846dd055001a05 | |
Parameters: {"action"=>"profile", "id"=>"174", "controller"=>"advisors"} | |
Account Columns (2.2ms) SHOW FIELDS FROM `accounts` | |
Account Load (4.9ms) SELECT * FROM `accounts` WHERE (`accounts`.`full_domain` = 'pacificadvisors.statusroom.dev') LIMIT 1 | |
User Columns (3.5ms) SHOW FIELDS FROM `users` | |
User Load (0.7ms) SELECT * FROM `users` WHERE (`users`.`id` = 4 AND (`users`.account_id = 1)) | |
Footprint Load (0.9ms) SELECT * FROM `footprints` WHERE (`footprints`.user_id = 4) ORDER BY updated_at DESC LIMIT 50 | |
Footprint Columns (1.6ms) SHOW FIELDS FROM `footprints` | |
Footprint Load (203.6ms) SELECT * FROM `footprints` WHERE (path LIKE "%advisor%") AND (`footprints`.user_id = 4) LIMIT 20 |
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
class AddStaffToNotes < ActiveRecord::Migration | |
def self.up | |
add_column :notes, :staff, :boolean | |
add_index :notes, :staff | |
end | |
def self.down | |
remove_column :notes, :staff | |
remove_index :notes, :staff | |
end |
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
~/www/railsmachine/statusroom(dev_robert) > PAGER=cat git blame public/javascripts/application.js|grep 2009-06 | |
72b8dbc9 (Matt Petty 2009-06-02 12:13:00 -0500 3) | |
3e7659ee (Matt Petty 2009-06-05 07:28:31 -0500 26) _() | |
f35983a7 (Matt Petty 2009-06-05 00:37:11 -0500 29) _(this).parent().children('.filter-content').slideToggle(); | |
3e7659ee (Matt Petty 2009-06-05 07:28:31 -0500 30) var drp = _('.date_range_picker:visible', _(this).parent()); | |
f35983a7 (Matt Petty 2009-06-05 00:37:11 -0500 32) drp.daterangepicker({ | |
f35983a7 (Matt Petty 2009-06-05 00:37:11 -0500 33) presetRanges: [ | |
f35983a7 (Matt Petty 2009-06-05 00:37:11 -0500 34) {text: "2006", dateStart: "01/01/2006", dateEnd: "12/31/2006"}, | |
f35983a7 (Matt Petty 2009-06-05 00:37:11 -0500 35) {text: "2007", dateStart: "01/01/2007", dateEnd: "12/31/2007"}, | |
f35983a7 (Matt Petty 2009-06-05 00:37:11 -0500 36) {text: "2008", dateStart: "01/01/2008", dateEnd: "12/31/ |
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
~ > ruby -v | |
ruby 1.8.6 (2008-08-11 patchlevel 287) [i686-darwin9.7.0] | |
~ > which ruby | |
/usr/local/bin/ruby | |
~ > gem env | |
RubyGems Environment: | |
- RUBYGEMS VERSION: 1.3.4 | |
- RUBY VERSION: 1.8.6 (2008-08-11 patchlevel 287) [i686-darwin9.7.0] | |
- INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.8 | |
- RUBY EXECUTABLE: /usr/local/bin/ruby |