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 Plan < ActiveRecord::Base | |
include Roo | |
def self.import | |
s = Excelx.new("#{Rails.root}/db/data/simple_media_plan.xlsx") | |
table_start_row_no = s.first_row | |
table_end_row_no = s.last_row | |
# Find the start and end row of the table | |
s.first_row.upto(s.last_row) do |line| |
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
[venkatab@pnwsdes053 redzone]$ git rebase master | |
First, rewinding head to replay your work on top of it... | |
Applying: RZ-3594 - As a developer, I want to develop and implement a strategy for removing html generation code from models | |
Using index info to reconstruct a base tree... | |
<stdin>:83: trailing whitespace. | |
("On #{adjustment.created_at.to_s(:date)}, #{adjustment.user.name} changed #{adjustment.stat_column} from #{adjustment.formatted_original_value} to #{adjustment.formatted_value} for these dimensions: " + | |
<stdin>:86: trailing whitespace. | |
<stdin>:182: trailing whitespace. | |
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
[venkatab@pnwsdes053 redzone]$ rails c | |
/home/local/PENNYWISE/venkatab/.rvm/gems/ruby-1.9.3-p194@redzone/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `block in require': iconv will be deprecated in the future, use String#encode instead. | |
Loading development environment (Rails 3.2.11) | |
[1] pry(main)> gt = c.geo_targets.build({"name" => "Venkat is testitnee"}) | |
NameError: undefined local variable or method `c' for main:Object | |
from (pry):1:in `__pry__' | |
[2] pry(main)> c = Campaign.first | |
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
-sh-4.2$ bundle exec cap staging deploy:migrations | |
* 2012-12-19 18:09:50 executing `staging' | |
triggering start callbacks for `deploy:migrations' | |
* 2012-12-19 18:09:50 executing `multistage:ensure' | |
* 2012-12-19 18:09:50 executing `deploy:migrations' | |
* 2012-12-19 18:09:50 executing `deploy:update_code' | |
updating the cached checkout on all servers | |
executing locally: "git ls-remote [email protected]:venkatab/redzone.git staging" | |
command finished in 4882ms | |
* executing "if [ -d /home/redzone/deploy/redzone/shared/cached-copy ]; then cd /home/redzone/deploy/redzone/shared/cached-copy && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard e2d132f97dbcc04fc45a3fd464347e651785775a && git clean -q -d -x -f; else git clone -q [email protected]:venkatab/redzone.git /home/redzone/deploy/redzone/shared/cached-copy && cd /home/redzone/deploy/redzone/shared/cached-copy && git checkout -q -b deploy e2d132f97dbcc04fc45a3fd464347e651785775a; fi" |
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
cucumber features/am_campaign.feature:11: Passing without any fix | |
cucumber features/au_invoices.feature:27: Fixed | |
cucumber features/au_invoices.feature:53: Fixed | |
cucumber features/au_invoices.feature:73: Fixed | |
cucumber features/au_invoices.feature:91: Fixed | |
cucumber features/au_invoices.feature:108: Fixed | |
cucumber features/au_invoices.feature:152: Fixed | |
cucumber features/mb_campaign_site_allocations.feature:136: Passing without any fix | |
cucumber features/nao_blocked_referrers.feature: Not Fixed |
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
-sh-4.2$ git rebase master | |
First, rewinding head to replay your work on top of it... | |
Applying: RZ-3203 - As a developer, I want to migrate the remaining ERB views to HAML | |
Using index info to reconstruct a base tree... | |
<stdin>:790: trailing whitespace. | |
<stdin>:3118: trailing whitespace. | |
<stdin>:6204: trailing whitespace. | |
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
-sh-4.2$ git merge upstream/master | |
Updating a19d637..6758a23 | |
Fast-forward | |
app/controllers/media_plan_requests_controller.rb | 9 ++++++++- | |
app/controllers/payables_controller.rb | 2 +- | |
app/controllers/receivables_controller.rb | 1 + | |
app/helpers/application_helper.rb | 8 ++++++++ | |
app/models/payable.rb | 1 + | |
app/models/receivable.rb | 4 ++++ | |
app/views/advertisers/_form.html.haml | 2 +- |
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
cucumber features/am_campaign.feature:17 # Scenario: As an Account manager I must be able to create a Campaign and create a new client | |
cucumber features/am_campaign.feature:196 # Scenario: As an Account Manager, when defining a campaign's dimensions, I want there to be 3 custom dimensions I can add values to. | |
budget allocation | |
cucumber features/am_campaign_dashboard.feature:41 # Scenario: As the user, when viewing the campaign dashboard, I want to see a summary of all budget allocations | |
cucumber features/am_campaign_dashboard.feature:72 # Scenario: As the user, when viewing the campaign dashboard, I want to see links to the advertiser summary report | |
cucumber features/am_campaign_dashboard.feature:94 # Scenario: As the user, when viewing the campaign dashboard, I want to see links to the advertiser daily report | |
cucumber features/au_invoices.feature:53 # Scenario: As an accountant, I want to be able to preview the generated invoices before syncing to QB | |
cucumber features/hr_user_hourly_rates.feature:15 # Scenar |
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
budget_allocations | |
_performance: couldn't find in UI | |
site_allocations | |
_readonly_table: couldn't find in UI | |
campaign_sites | |
_readonly_table: couldn't find in UI | |
ads |
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
cucumber features/am_campaign.feature:11 # Scenario: As an Account Manager, I can view Campaigns for departments to which I belong | |
cucumber features/am_campaign_budget_allocations.feature:283 # Scenario: As an Account Manager, when creating a budget allocation, I can pick the specific dimension values for this allocation | |
cucumber features/am_campaign_budget_allocations.feature:355 # Scenario: As an Account Manager, I want a dynamically updated notice informing me how many ads and site allocations will belong to the budget allocation | |
cucumber features/am_campaign_dashboard.feature:27 # Scenario: As the user, when viewing the campaign dashboard, I want to view a summary of the campaign's core values | |
cucumber features/am_campaign_dashboard.feature:41 # Scenario: As the user, when viewing the campaign dashboard, I want to see a summary of all budget allocations | |
cucumber features/am_campaign_dashboard.feature:72 # Scenario: As the user, when viewing the campaign dashboard, I want to see links to the advertiser sum |