Skip to content

Instantly share code, notes, and snippets.

View jeremy6d's full-sized avatar

Jeremy Weiland jeremy6d

View GitHub Profile
scope(:module => :admin, :as => :admin) do
namespace :content do
resources :pages do
resources :input_definitions
end
end
end
admin_content_page_input_definitions GET /:domain/content/pages/:page_id/input_definitions(.:format) {:action=>"index", :controller=>"admin/content/input_definitions"}
PLUGIN_PATH = "vendor/plugins/community_engine/"
PLUGIN_TESTS_TO_IGNORE = ["functional/skills_controller_test.rb",
"functional/posts_controller_test.rb"].collect { |t| "#{PLUGIN_PATH}test/#{t}"}
Autotest.add_hook :initialize do |at|
at.clear_exceptions
at.clear_mappings
%w{.git .svn stories tmtags Rakefile Capfile README spec/spec.opts spec/rcov.opts vendor/gems autotest svn-commit .DS_Store }.each do |exception|
at.add_exception(exception)
2009-11-21 14:45:43,815 [main] INFO org.monkey.pyrot.client.NzbServer - Working directory: /Library/PreferencePanes/Pyrot.prefPane/Contents/Resources/pyrot
2009-11-21 14:45:45,191 [main] DEBUG org.monkey.pyrot.client.processors.ParRepair - No path specified, executing "which par2" to determine the full path
2009-11-21 14:45:45,192 [main] INFO org.monkey.pyrot.client.processors.Unrar - What is the final command? /Library/PreferencePanes/Pyrot.prefPane/Contents/Resources/pyrot/bin/unrar
2009-11-21 14:45:45,193 [main] DEBUG org.monkey.pyrot.client.processors.ParRepair - No path specified, executing "which par2" to determine the full path
2009-11-21 14:45:45,193 [main] INFO org.monkey.pyrot.client.processors.Unrar - What is the final command? /Library/PreferencePanes/Pyrot.prefPane/Contents/Resources/pyrot/bin/unrar
2009-11-21 14:45:45,193 [main] DEBUG org.monkey.pyrot.client.NzbServer - Loaded the config file
2009-11-21 14:45:45,437 [main] INFO org.monkey.pyrot.client.NzbServer - Looking for InternetGatewayD
Loading development environment (Rails 2.2.2)
>> PortfolioCategory.send(:subclasses)
=> []
>> TypeCategory.superclass
=> PortfolioCategory(id: integer, name: string, description: text, type: string, created_at: datetime, updated_at: datetime, slug: string)
Loading development environment (Rails 2.2.2)
>> Numeric.subclasses
=> ["Bignum", "Float", "Fixnum", "Integer", "Rational", "Date::Infinity", "BigDecimal"]
>> PortfolioCategory.superclass
=> ActiveRecord::Base
>> TypeCategory.superclass
=> PortfolioCategory(id: integer, name: string, description: text, type: string, created_at: datetime, updated_at: datetime, slug: string)
>> PortfolioCategory.subclass
NoMethodError: undefined method `subclass' for #<Class:0x19f4588>
from /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/base.rb:1833:in `method_missing_without_paginate'
In body.html:
<%= select_field_view :store,
:name_key => 'name',
:value_key => 'guid',
:sort_key => 'name',
:empty => 'Select a store',
:bind => {
:value => 'TestHarness.storesController.selection',
:objects => 'TestHarness.storesController.arrangedObjects'