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 Admin::ResourcesController#new (for 76.237.3.95 at 2009-09-20 18:40:28) [GET] | |
| Rendering template within layouts/admin | |
| Rendering admin/resources/new | |
| Completed in 14ms (View: 7, DB: 5) | 200 OK [http://refinery-cms.heroku.com/admin/resources/new] | |
| Processing Admin::ResourcesController#create (for 76.237.3.95 at 2009-09-20 18:41:02) [POST] | |
| Parameters: {"commit"=>"Save", "resource"=>{"attachment"=>#<File:/tmp/RackMultipart.32211.1>}, "authenticity_token"=>"OVEJzyuRmHLEtAqcdVD8jMPHZsfU8j+pBYv8NWAmykM="} | |
| Errno::EROFS (Read-only file system - /disk1/home/slugs/57506_9875885_b0df/mnt/index - Heroku has a read-only filesystem. See http://docs.heroku.com/constraints#read-only-filesystem): |
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
| ##Why do I get this errror? | |
| ## Done in console | |
| @group = Group.create(:name => 'admin', :description => 'admin role', :context | |
| @member=User.first | |
| >> @member.groups << @group | |
| NoMethodError: undefined method `groups' for #<User:0x24b641c> | |
| from .../vendor/rails/activerecord/lib/active_record/attribute_methods.rb:260:in `method_missing' | |
| from (irb):8 | |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
| <title>Heroku | Ouchie Guy [000004e600076d2900097307]</title> | |
| </head> | |
| <body> | |
| <div style="margin: 2em 5em"> | |
| <h1>Heroku Error</h1> | |
| <img src="http://heroku.com/images/pages/japan.gif" style="float:left;margin-right:1em"> |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
| <title>Heroku | Ouchie Guy [000004e600076d2900097307]</title> | |
| </head> | |
| <body> | |
| <div style="margin: 2em 5em"> | |
| <h1>Heroku Error</h1> | |
| <img src="http://heroku.com/images/pages/japan.gif" style="float:left;margin-right:1em"> |
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 InvitationsController#create (for 75.61.75.14 at 2009-10-02 13:30:20) [POST] | |
| Parameters: {"commit"=>"Submit", "action"=>"create", "controller"=>"invitations", "invitation"=>{"recipient_email"=>"c_mehrling@hotmail.com"}} | |
| Sent mail to c_mehrling@hotmail.com | |
| Errno::ECONNREFUSED (Connection refused - connect(2)): | |
| /home/slugs/61201_f6909e6_3125/mnt/.gems/gems/openrain-action_mailer_tls-1.1.3/lib/smtp_tls.rb:10:in `initialize' | |
| /home/slugs/61201_f6909e6_3125/mnt/.gems/gems/openrain-action_mailer_tls-1.1.3/lib/smtp_tls.rb:10:in `open' | |
| /home/slugs/61201_f6909e6_3125/mnt/.gems/gems/openrain-action_mailer_tls-1.1.3/lib/smtp_tls.rb:10:in `do_start' | |
| /usr/local/lib/ruby/1.8/timeout.rb:62:in `timeout' | |
| /usr/local/lib/ruby/1.8/timeout.rb:93:in `timeout' |
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 InvitationsController#create (for 75.61.75.14 at 2009-10-02 15:52:12) [POST] | |
| Parameters: {"commit"=>"Submit", "action"=>"create", "controller"=>"invitations", "invitation"=>{"recipient_email"=>"rich@oceanshore.org"}} | |
| Sent mail to rich@oceanshore.org | |
| Errno::ECONNREFUSED (Connection refused - connect(2)): | |
| /home/slugs/61201_f6909e6_3125/mnt/.gems/gems/openrain-action_mailer_tls-1.1.3/lib/smtp_tls.rb:10:in `initialize' | |
| /home/slugs/61201_f6909e6_3125/mnt/.gems/gems/openrain-action_mailer_tls-1.1.3/lib/smtp_tls.rb:10:in `open' | |
| /home/slugs/61201_f6909e6_3125/mnt/.gems/gems/openrain-action_mailer_tls-1.1.3/lib/smtp_tls.rb:10:in `do_start' | |
| /usr/local/lib/ruby/1.8/timeout.rb:62:in `timeout' | |
| /usr/local/lib/ruby/1.8/timeout.rb:93:in `timeout' |
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
| {"person"=>{"sent_at"=>"10/16/2009"}, | |
| "commit"=>"Print Letters", | |
| "_method"=>"put", | |
| "authenticity_token"=>"056EvcP+2pPLPkUTq1fdB7nhh/t2LVoRi2hAIf2Gv9Q=", | |
| "person_ids"=>["2", | |
| "5", | |
| "3", | |
| "4"]} |
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
| def update_multiple | |
| # mark all recipients of postal mail | |
| @people = Person.find(params[:person_ids]) | |
| @sent_at = Person.find(params[:sent_at]) | |
| @people.each do |person| | |
| @mailing = Mailing.new | |
| @mailing.sent_at = @sent_at | |
| @mailing.recipient_id = person | |
| unless person.relationship == "03-attorney" | |
| @mailing.boiler_plate_id = BoilerPlate.find_by_target_audience('other') |
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
| Loading development environment (Rails 2.3.3) | |
| >> @setting =BoilerPlateSetting.new | |
| => #<BoilerPlateSetting id: nil, target_audience: "", body: nil, salutation: nil, closing: "", opening: nil, lead_in: nil, contact_phrase: nil, closing_phrase: nil, creator_id: nil, created_at: nil, updated_at: nil> | |
| >> @bp = BoilerPlate | |
| => BoilerPlate(id: integer, name: string, target_audience: string, creator_id: integer, body: text, salutation: string, closing: text, created_at: datetime, updated_at: datetime, opening: text, lead_in: text, contact_phrase: text, closing_phrase: text) | |
| >> @setting.attributes = @bp.attributes.except(:id) | |
| NoMethodError: undefined method `attributes' for #<Class:0x36a5218> | |
| from /Users/heathertanner/Sites/rails/outbounder/vendor/gems/yfactorial-utility_scopes-0.2.2/lib/utility_scopes/ordered.rb:73:in `method_missing' | |
| from /Users/heathertanner/.gem/ruby/1.8/gems/activerecord-2.3.3/lib/active_record/base.rb:1959:in `method_missing' | |
| from (irb):3 |
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
| User | |
| has_many :boiler_plates, :class_name => "BoilerPlate", :foreign_key => "creator_id" | |
| BoilerPlate | |
| belongs_to :creator, :class_name => "User", :foreign_key => "creator_id" |