You wrote:
= hb 'if content.condition1' do
= hb 'if content.condition2' do
%p Some paragraph
= hb 'else'
%p another paragraph
= hb 'else'
%p third paragraph
# Never forward addresses in the non-routed address spaces. | |
bogus-priv | |
# Filter useless windows-originated DNS requests. | |
filterwin2k | |
# Drop privileges from root to this user and group. | |
user=dnsmasq | |
group=nogroup | |
# By default, dnsmasq binds the wildcard address, even when only listening on |
You wrote:
= hb 'if content.condition1' do
= hb 'if content.condition2' do
%p Some paragraph
= hb 'else'
%p another paragraph
= hb 'else'
%p third paragraph
TypeError: Object #<World> has no method 'visit' | |
at World.<anonymous> (/Users/jnh/Dev/ember-newsflash/features/step_definitions/inMemoryAdapter.coffee:8:19) | |
at Object.invoke (/Users/jnh/Dev/ember-newsflash/node_modules/cucumber/lib/cucumber/support_code/step_definition.js:29:14) | |
at Object.execute (/Users/jnh/Dev/ember-newsflash/node_modules/cucumber/lib/cucumber/ast/step.js:142:22) | |
at Object.acceptVisitor (/Users/jnh/Dev/ember-newsflash/node_modules/cucumber/lib/cucumber/ast/step.js:133:12) | |
at Object.executeStep (/Users/jnh/Dev/ember-newsflash/node_modules/cucumber/lib/cucumber/runtime/ast_tree_walker.js:170:12) | |
at Object.processStep (/Users/jnh/Dev/ember-newsflash/node_modules/cucumber/lib/cucumber/runtime/ast_tree_walker.js:165:14) | |
at /Users/jnh/Dev/ember-newsflash/node_modules/cucumber/lib/cucumber/runtime/ast_tree_walker.js:67:16 | |
at callUserFunctionAndBroadcastAfterEvent (/Users/jnh/Dev/ember-newsflash/node_modules/cucumber/lib/cucumber/runtime/ast_tree_walker.js:91:9) | |
module AuthlogicModel | |
def self.included(model) | |
model.class_eval do | |
extend ClassMethods | |
include InstanceMethods | |
include ProtectedAttributes | |
field :username | |
field :email | |
field :crypted_password |