View gist:458785
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
# @admin | |
Background: | |
Given today is "2010/06/16" | |
Given a user "Ima Director" has a movie "Land of the Dead" with genres "Action, Adventure, Animation, Anime" | |
And the user "Ima Director" has a movie "The Dark Knight" with genre "Children, Teen, Comedy" | |
And the user "Ima Director" has a movie "Ninja Scroll" with genre "Documentary, Drama, Family, Fantasy" | |
Scenario Outline: No searches | |
When stats page |
View gist:458800
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
# @admin | |
Background: | |
Given today is "2010/06/16" | |
Given a user "Ima Director" has a movie "Land of the Dead" with genres "Action, Adventure, Animation, Anime" | |
And the user "Ima Director" has a movie "The Dark Knight" with genre "Children, Teen, Comedy" | |
And the user "Ima Director" has a movie "Ninja Scroll" with genre "Documentary, Drama, Family, Fantasy" | |
Scenario Outline: No searches | |
When stats page |
View gist:458786
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
# @admin | |
Background: | |
Given today is "2010/06/16" | |
Given a user "Ima Director" has a movie "Land of the Dead" with genres "Action, Adventure, Animation, Anime" | |
And the user "Ima Director" has a movie "The Dark Knight" with genre "Children, Teen, Comedy" | |
And the user "Ima Director" has a movie "Ninja Scroll" with genre "Documentary, Drama, Family, Fantasy" | |
Scenario Outline: No searches | |
When stats page |
View gist:459807
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
Processing CommentsController#create (for 193.126.122.212 at 2010-07-01 03:24:43) [POST] | |
Parameters: {"comment"=>{"body"=>"nice"}, "photo_id"=>"1"} | |
NoMethodError (undefined method `receives_individual_notifications?' for nil:NilClass): | |
vendor/plugins/cause-in-a-box/app/controllers/comments_controller.rb:14:in `create' | |
vendor/plugins/cause-in-a-box/app/controllers/comments_controller.rb:12:in `each' | |
vendor/plugins/cause-in-a-box/app/controllers/comments_controller.rb:12:in `create' | |
.bundle/gems/gems/actionpack-2.3.8/lib/action_controller/base.rb:1331:in `send' | |
.bundle/gems/gems/actionpack-2.3.8/lib/action_controller/base.rb:1331:in `perform_action_without_filters' | |
.bundle/gems/gems/actionpack-2.3.8/lib/action_controller/filters.rb:617:in `call_filters' |
View gist:475871
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
TypeError (Symbol as array index): | |
app/controllers/application_controller.rb:85:in `[]' | |
app/controllers/application_controller.rb:85:in `add_event' | |
app/controllers/search_controller.rb:15:in `index' | |
warden (0.9.7) lib/warden/manager.rb:34:in `call' | |
warden (0.9.7) lib/warden/manager.rb:34:in `call' | |
warden (0.9.7) lib/warden/manager.rb:33:in `catch' | |
warden (0.9.7) lib/warden/manager.rb:33:in `call' | |
config/initializers/flash_session_cookie_middleware.rb:14:in `call' | |
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' |
View gist:478318
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
//--script for labels inside forms-- | |
function clearFieldsBehavior(){ | |
clearFields = jQuery(".clearField"); | |
clearFields.keydown(function() { | |
inputLabel = jQuery("label[for=" + this.id + "]") | |
if (this.value.length == 0) { | |
inputLabel.show(); | |
} else { |
View gist:587597
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
lifecycle do | |
state :active | |
state :inactive, :default => true | |
create :signup, :available_to => "Guest", | |
:params => [:name, :email_address, :password, :password_confirmation], | |
:new_key => true, :become => :inactive do | |
UserMailer.send_later(:deliver_account_activation, self, lifecycle.key) | |
end |
View gist:587661
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
gem "rails", "2.3.5" | |
gem "mysql" | |
gem "mongrel" | |
gem "capistrano-ext" | |
gem "hobo", "1.0.1" | |
gem "delayed_job" | |
gem "daemons" | |
gem "annotate-models" |
View gist:607628
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
app/views/taglibs/auto/rapid/pages.dryml:29 | |
app/views/taglibs/auto/rapid/pages.dryml:28 | |
app/views/taglibs/auto/rapid/pages.dryml:28 | |
app/views/taglibs/auto/rapid/pages.dryml:21 | |
app/views/taglibs/auto/rapid/pages.dryml:21 | |
app/views/taglibs/auto/rapid/pages.dryml:20 | |
app/views/taglibs/themes/clean/clean.dryml:2:in `page_without_adfe5b196988' | |
app/views/taglibs/themes/clean/clean.dryml:1:in `page_without_adfe5b196988' | |
app/views/taglibs/application.dryml:12:in `page' | |
app/views/taglibs/application.dryml:11:in `page' |
View gist:607857
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
create app/controllers/pages_controller.rb | |
create app/helpers/pages_helper.rb | |
invoke test_unit | |
create test/unit/helpers/pages_helper_test.rb | |
invoke test_unit | |
create test/functional/pages_controller_test.rb | |
/var/lib/gems/1.8/gems/activesupport-3.0.0/lib/active_support/whiny_nil.rb:48:in `method_missing': undefined method `to_sym' for nil:NilClass (NoMethodError) | |
from /var/lib/gems/1.8/gems/railties-3.0.0/lib/rails/generators/generated_attribute.rb:9:in `initialize' | |
from /var/lib/gems/1.8/gems/railties-3.0.0/lib/rails/generators/named_base.rb:92:in `new' | |
from /var/lib/gems/1.8/gems/railties-3.0.0/lib/rails/generators/named_base.rb:92:in `parse_attributes!' |
OlderNewer