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
>> Issue.first | |
=> #<Issue id: 1656, issue_type_id: 23, initiator_id: 1, responder_id: 28, creator_id: 1, created_at: "2010-04-06 02:04:25", updated_at: "2010-04-06 02:04:25", status: "open", initiator_organization_ids: [1], responder_organization_ids: [28], issue_id: "SH-1656", closed_at: nil> | |
>> is = _ | |
=> #<Issue id: 1656, issue_type_id: 23, initiator_id: 1, responder_id: 28, creator_id: 1, created_at: "2010-04-06 02:04:25", updated_at: "2010-04-06 02:04:25", status: "open", initiator_organization_ids: [1], responder_organization_ids: [28], issue_id: "SH-1656", closed_at: nil> | |
>> is | |
=> #<Issue id: 1656, issue_type_id: 23, initiator_id: 1, responder_id: 28, creator_id: 1, created_at: "2010-04-06 02:04:25", updated_at: "2010-04-06 02:04:25", status: "open", initiator_organization_ids: [1], responder_organization_ids: [28], issue_id: "SH-1656", closed_at: nil> | |
>> is.created_at | |
=> Tue Apr 06 02:04:25 +0000 2010 | |
>> is.created_at = "2010-03-06 02:04:25" | |
=> "2010-03-06 02:04:25" |
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
ActiveRecord::StatementInvalid in Line_items#search | |
Showing app/views/line_items/_results.html.erb where line #2 raised: | |
PGError: ERROR: column reference "id" is ambiguous | |
LINE 1: ...d WHERE ("issues"."issue_type_id" = 23) ORDER BY id asc LIM... | |
^ | |
: SELECT "line_items"."id" AS t0_r0, "line_items"."issue_id" AS t0_r1, "line_items"."created_at" AS t0_r2, "line_items"."updated_at" AS t0_r3, "line_items"."position" AS t0_r4, "line_items"."status" AS t0_r5, "line_items"."resolved_at" AS t0_r6, "line_items"."closed_at" AS t0_r7, "line_items"."most_recent_post_date" AS t0_r8, "issues"."id" AS t1_r0, "issues"."issue_type_id" AS t1_r1, "issues"."initiator_id" AS t1_r2, "issues"."responder_id" AS t1_r3, "issues"."creator_id" AS t1_r4, "issues"."created_at" AS t1_r5, "issues"."updated_at" AS t1_r6, "issues"."status" AS t1_r7, "issues"."initiator_organization_ids" AS t1_r8, "issues"."responder_organization_ids" AS t1_r9, "issues"."issue_id" AS t1_r10, "iss |
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
Apr 14 13:45:31 stgapp1-t rollstream_wiley_staging[11153]: Processing IssueTypesController#update (for 74.220.158.44 at 2010-04-14 13:45:31) [PUT] | |
Apr 14 13:45:31 stgapp1-t rollstream_wiley_staging[11153]: Parameters: {"issue_type"=>{"manager_business_role_id"=>"", "editable_by_participants"=>"false", "creator_business_role_id"=>"", "mediator_business_role_id"=>"", "participant_business_role_id"=>"4"}, "id"=>"3"} | |
Apr 14 13:45:31 stgapp1-t rollstream_wiley_staging[11153]: Person Load (0.4ms) SELECT * FROM "people" WHERE ("people"."id" = 4) ORDER BY id asc LIMIT 1 | |
Apr 14 13:45:31 stgapp1-t rollstream_wiley_staging[11153]: CommunityMembership Load (0.4ms) SELECT * FROM "memberships" WHERE ("memberships"."person_id" = 4 AND "memberships"."community_id" = 1 AND "memberships"."role_id" = 9) AND ( ("memberships"."type" = 'CommunityMembership' ) ) | |
Apr 14 13:45:31 stgapp1-t rollstream_wiley_staging[11153]: IssueType Load (0.3ms) SELECT * FROM "issue_types" WHERE ("issue_types"."id" = 3) ORDER BY name | |
Apr 14 |
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
QA|GlobalGlobal tasksCommunitiesHostsLogout | |
deploy running on AUTO starting at Thu Apr 15 18:54:14 +0000 2010 | |
Failed | |
Task string: cd /var/www/railsapps/auto/current && cap qa deploy -S | |
repository="svn+ssh://[email protected]/var/svn/community_service/trunk" -S | |
application="auto" -S community_first_user_last_name="Downie" -S | |
community_first_user_first_name="Rich" -S community_display_name="AUTO" -S | |
community_url="https://qaauto.rollstream.com" -S | |
community_domain_name="qaauto.rollstream.com" -S | |
community_first_user_email="[email protected]" -S |
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
Hydra Testing [##############################>] 5/5 | |
rdownie@upstate ~/rich_web/homeschool_v2 (git::test) $ rake hydra | |
(in /Users/rdownie/rich_web/homeschool_v2) | |
(::) failed steps (::) | |
undefined local variable or method `be_nil' for #<Cucumber::Rails::World:0x82d1beb0> (NameError) | |
./features/step_definitions/authentication_steps.rb:4:in `/^(?:|I )am not logged in$/' | |
features/homepage.feature:8:in `And I am not logged in' | |
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 ProjectMembershipsController#remove_tag_from_pager (for 74.220.158.207 at 2010-04-19 15:27:36) [POST] | |
Apr 19 15:27:36 -- Parameters: {"project_id"=>"1624", "pager"=>{"label"=>"Participants", "omit_top_line"=>"", "filter_by_key"=>"", "destroy_url"=>"", "exclude_proxy"=>"", "update_partial"=>"", "starting_not_included_count"=>"", "omit_remove_all_button"=>"", "create_url"=>"", "sort_by"=>"", "filter"=>"", "starting_can_be_added_count"=>"", "starting_included_count"=>"", "url"=>"https://qaauto.rollstream.com/projects/1624/project_memberships/search", "filter_by_value"=>"", "partition_proxy"=>"", "act_on_results_params"=>"jack", "page"=>"1", "starting_can_be_removed_count"=>"", "paging_and_sorting_only"=>"", "ignore_less_than_10"=>"", "omit_add_all_button"=>"", "only_result_count"=>"", "omit_summary"=>"", "new_ui"=>"true", "update_partial_id"=>"project_memberships_update_partial", "javascript_listener_method"=>"", "omit_advanced_search"=>"", "omit_top_bar"=>"", "omit_quick_search"=>"", "result_id"=> |
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
rdownie@upstate ~/rich_web/github_stuff/rollstream (git::master) $ cat features/issue_simple_search.feature | |
Feature: UI Search Scenarios that require no data | |
Background: | |
Given I login as a Community Administrator | |
@production | |
Scenario: Cancel out of Save Search | |
Given I am on the issues page | |
And I click the "Save Search" link |
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 CreateSessions < ActiveRecord::Migration | |
def self.up | |
create_table :sessions do |t| | |
t.string :session_id, :null => false | |
t.text :data | |
t.timestamps | |
end | |
add_index :sessions, :session_id | |
add_index :sessions, :updated_at |
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
array = %w( maxfli maxfli maxfli titleist callaway titleist nike titleist callaway maxfli ) | |
=> ["maxfli", "maxfli", "maxfli", "titleist", "callaway", "titleist", "nike", "titleist", "callaway", "maxfli"] | |
h = Hash.new(0) | |
=> {} | |
array.each do |word| | |
h[word] += 1 | |
end | |
=> ["maxfli", "maxfli", "maxfli", "titleist", "callaway", "titleist", "nike", "titleist", "callaway", "maxfli"] |