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
Missing host to link to! Please provide :host parameter or set default_url_options[:host] | |
======================== | |
actionpack (3.0.3) lib/action_dispatch/routing/route_set.rb:473:in `url_for' | |
actionpack (3.0.3) lib/action_dispatch/routing/url_for.rb:131:in `url_for' | |
actionpack (3.0.3) lib/action_view/helpers/url_helper.rb:99:in `url_for' | |
actionpack (3.0.3) lib/action_dispatch/routing/route_set.rb:195:in `event_organizers_guide_url' | |
app/cells/events/member_header.html.erb:8:in `_app_cells_events_member_header_html_erb__15892402_26460970__143767651' | |
actionpack (3.0.3) lib/action_view/template.rb:135:in `block in render' |
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
module UrlHelper | |
def generate_my_url(obj) | |
my_path({ :obj_id => obj.slug }) | |
end | |
# [..] | |
end |
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
# ################ | |
# Models | |
# ################ | |
class Event | |
include Mongoid::Document | |
embeds_many :organizers, :class_name => "EventOrganizer" | |
end |
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
class Activity | |
include Mongoid::Document | |
include Streama::Activity | |
activity :follow_user do | |
actor :user, :cache => [:name] | |
target :user, :cache => [:name] | |
end | |
activity :follow_event do |
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
WARNING: Global access to Rake DSL methods is deprecated. Please include | |
... Rake::DSL into classes and modules which use the Rake DSL methods. | |
WARNING: DSL method [..]::Application#task called at [..]/gems/railties-3.0.5/lib/rails/application.rb:214:in `initialize_tasks' |
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
<?php | |
function rechter_rand_unten($rechter_rand) | |
{ | |
global $rechter_rand; | |
if ($rechter_rand == 1) | |
{ ?></td> | |
<td width="140" class="loop_navi_rechts"> | |
<table width="140" cellspacing="0" cellpadding="0"> | |
<tr> | |
<td> |
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
# running cucumber without spork | |
$ time cucumber | |
Using the default profile... | |
0 scenarios | |
0 steps | |
0m0.000s | |
cucumber 5.09s user 0.86s system 99% cpu 5.971 total | |
# running cucumber against spork |
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
input, textarea, select { | |
font: 13px Courier New,Helvetica,Verdana,Arial,Sans-Serif; | |
} | |
/* because courier new in bold is ugly */ | |
#commentform #submit { | |
font-weight: normal; | |
} |
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 a constructor which inherits from Backbone.Model | |
var ToDo = Backbone.Model.extend( | |
// instance properties | |
{ | |
toJSON: function() { ... } | |
}, | |
// static properties | |
{ | |
createFromJSON: function(jsonObj) { ... } | |
} |
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
//= require require | |
require.config({ | |
'baseUrl': '/assets' | |
}); |