Skip to content

Instantly share code, notes, and snippets.

View gamafranco's full-sized avatar

Tiago Franco gamafranco

View GitHub Profile
# @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
# @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
# @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
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'
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'
//--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 {
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
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"
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'
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!'