This file contains 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
Hotel.populate 2..5 do |hostel| | |
hotel.city_id = city.id | |
hotel.name = Populator.words(1..2) + " hotel" | |
hotel.phone = Faker::PhoneNumber.phone_number | |
hotel.address = Faker::Address.street_address | |
Event.populate 4...8 do |event| | |
event.date_and_time = 3.days.from_now...10.months.from_now | |
event.title = Populator.words(2..5).titleize | |
ActiveRecord::Base.connection.execute("INSERT INTO events_hotels (event_id, | |
hotel_id) VALUES (#{event.id}, #{hotel.id})") |
This file contains 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
* executing `production' | |
* executing `deploy' | |
triggering before callbacks for `deploy' | |
* executing `deploy:update' | |
** transaction: start | |
* executing `deploy:update_code' | |
updating the cached checkout on all servers | |
* executing "git ls-remote git://github.com/jgagne33/coveylove.git HEAD" | |
servers: ["ec2-72-44-47-105.compute-1.amazonaws.com"] | |
[ec2-72-44-47-105.compute-1.amazonaws.com] executing command |
This file contains 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
1) | |
WillPaginate::InvalidPage in 'PostsController handling weird pagination params should redirect to page 1 if null is given as page param' | |
0 given as value, which translates to '0' as page number | |
/Users/jasongagne/redeparede/code/trunk/vendor/plugins/will_paginate/lib/will_paginate/collection.rb:51:in `initialize' | |
/Users/jasongagne/redeparede/code/trunk/vendor/plugins/will_paginate/lib/will_paginate/collection.rb:86:in `new' | |
/Users/jasongagne/redeparede/code/trunk/vendor/plugins/will_paginate/lib/will_paginate/collection.rb:86:in `create' | |
/Users/jasongagne/redeparede/code/trunk/vendor/plugins/will_paginate/lib/will_paginate/finder.rb:129:in `paginate_by_sql' | |
/Users/jasongagne/redeparede/code/trunk/lib/post_finder/post_finder.rb:327:in `results' | |
/Users/jasongagne/redeparede/code/trunk/app/models/post.rb:117:in `search' | |
/Users/jasongagne/redeparede/code/trunk/app/controllers/posts_controller.rb:494:in `get_posts' |
This file contains 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
WillPaginate::InvalidPage in 'PostsController handling weird pagination params should redirect to page 1 if 0 is given as page param' | |
0 given as value, which translates to '0' as page number | |
/Users/jasongagne/redeparede/code/trunk/vendor/plugins/will_paginate/lib/will_paginate/collection.rb:51:in `initialize' | |
/Users/jasongagne/redeparede/code/trunk/vendor/plugins/will_paginate/lib/will_paginate/collection.rb:86:in `new' | |
/Users/jasongagne/redeparede/code/trunk/vendor/plugins/will_paginate/lib/will_paginate/collection.rb:86:in `create' | |
/Users/jasongagne/redeparede/code/trunk/vendor/plugins/will_paginate/lib/will_paginate/finder.rb:129:in `paginate_by_sql' | |
/Users/jasongagne/redeparede/code/trunk/lib/post_finder/post_finder.rb:327:in `results' | |
/Users/jasongagne/redeparede/code/trunk/app/models/post.rb:117:in `search' | |
/Users/jasongagne/redeparede/code/trunk/app/controllers/posts_controller.rb:494:in `get_posts' | |
/Users/jasongagne/redeparede/code/trunk/app/controllers/posts_controller.rb:26:in `index' |
This file contains 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 downgrade | |
self.max_photos = 3 | |
self.coverage_id = Coverage.free.id | |
end | |
def repost | |
# downgrade. the logic that fills premium, should_float and payment_required is already on coverage_id setter | |
self.downgrade | |
# change expires |
This file contains 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
rpwin:~/redeparede/code/trunk jasongagne$ rake spec | |
(in /Users/jasongagne/redeparede/code/trunk) | |
/Users/jasongagne/redeparede/code/trunk/vendor/plugins/integration/tasks | |
...........FFFF........FF.FF............*........*..........................F...^C.^C. | |
Pending: | |
MeeboController getfriends should return error when user doesn't exists (Not Yet Implemented) | |
./spec/controllers/meebo_controller_spec.rb:220 |
This file contains 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
sale_bikes_local_premium_rio: | |
title: 2006 SUZUKI GSX-R1000K6 BLUE, RED & SILVER RIO | |
body: With a racing pedigree that spans over 20 years, the GSXR range of motorcycles are the rio ultimate race replicas.\n This GSXR1000 is lighter, faster, more powerful than any other bike in it's class... it's that simple!\n For more information call 01782 861100 and ask for Neil Wilson the Sales Manager rio. | |
body_html: <p>With a racing pedigree that spans over 20 years, the GSXR range of motorcycles rio are the ultimate race replicas.\n This GSXR1000 is lighter, faster, more powerful than any other bike in it's class... it's that simple!\n For more information call 01782 861100 and ask for Neil Wilson the Sales Manager rio.</p> | |
user: quentin | |
category: bikes | |
city: rio | |
country_city_merge: 1827559498 # brasil id | |
country: brasil | |
ip_address: 127.0.0.1 |
This file contains 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
<% content_for("page_header") do %> | |
<%= "About our Featured Posts" -%> | |
<% end %> | |
<div class="tour"> | |
<div class="skype featured"> | |
<div class="tourbox first"> | |
<h2>How do I get one?</h2> | |
<p>If you don't have a post yet, you can choose any premium option on the <%= link_to "post form", new_post_url %></p> | |
<p>If you already have a post, you can make it a premium post from the edit page</p> | |
</div> |
This file contains 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
rpwin:~/redeparede/code/trunk jasongagne$ ruby spec/controllers/meebo_controller_spec.rb | |
.................F.F.F*.......F*F.F..F... | |
Pending: | |
MeeboController getinfo should return error when user doesn't exists (Not Yet Implemented) | |
/Users/jasongagne/redeparede/code/trunk/vendor/plugins/rspec-rails/lib/spec/rails/example/controller_example_group.rb:121:in `initialize' | |
MeeboController getfriends should return error when user doesn't exists (Not Yet Implemented) | |
/Users/jasongagne/redeparede/code/trunk/vendor/plugins/rspec-rails/lib/spec/rails/example/controller_example_group.rb:121:in `initialize' |
This file contains 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
rake aborted! | |
Command /usr/local/bin/ruby -I"/Users/jasongagne/redeparede/code/trunk/vendor/plugins/rspec/lib" "/Users/jasongagne/redeparede/code/trunk/vendor/plugins/rspec/bin/spec" "spec/controllers/meebo_controller_spec.rb" "spec/controllers/posts_controller_spec.rb" "spec/controllers/tweets_controller_spec.rb" "spec/helpers/meebo_helper_spec.rb" "spec/models/city_spec.rb" "spec/models/coverage_spec.rb" "spec/models/lib/post_finder_spec.rb" "spec/models/lib/rede_twitter_spec.rb" "spec/models/post_spec.rb" "spec/models/tweet_spec.rb" --options "/Users/jasongagne/redeparede/code/trunk/spec/spec.opts" failed | |
/Users/jasongagne/redeparede/code/trunk/vendor/plugins/rspec/lib/spec/rake/spectask.rb:174:in `define' | |
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1088:in `verbose' | |
/Users/jasongagne/redeparede/code/trunk/vendor/plugins/rspec/lib/spec/rake/spectask.rb:150:in `define' | |
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:617:in `call' | |
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.r |
NewerOlder