Skip to content

Instantly share code, notes, and snippets.

@robinhouston
Created February 8, 2012 17:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robinhouston/1771478 to your computer and use it in GitHub Desktop.
Save robinhouston/1771478 to your computer and use it in GitHub Desktop.
what happens when I run a script (bug in survey branch of whatdotheyknow-theme)
Robin-Houstons-MacBook-Pro:alaveteli robin$ script/alert-new-response-reminders
<
<=
<=>
==
===
=~
>
>=
N_
Nn_
_
__id__
__send__
`
acts_like?
add_template_helper
adv_attr_accessor
alert_comment_on_request
alert_new_response_reminders
alert_new_response_reminders_internal
alert_not_clarified_request
alert_overdue_requests
alias_attribute
alias_method_chain
allocate
ancestors
as_json
as_load_path
attr_accessor_with_default
attr_internal
attr_internal_accessor
attr_internal_naming_format
attr_internal_naming_format=
attr_internal_reader
attr_internal_writer
autoload
autoload?
b64encode
blank?
breakpoint
cattr_accessor
cattr_reader
cattr_writer
class
class_attribute
class_eval
class_exec
class_inheritable_accessor
class_inheritable_array
class_inheritable_array_writer
class_inheritable_hash
class_inheritable_hash_writer
class_inheritable_reader
class_inheritable_writer
class_variable_defined?
class_variables
clone
const_defined?
const_get
const_missing
const_missing_with_dependencies
const_missing_without_dependencies
const_set
constants
controller_name
controller_path
copy_instance_variables_from
daemonize
debugger
decode64
decode_b
default_charset
default_charset=
default_content_type
default_content_type=
default_implicit_parts_order
default_implicit_parts_order=
default_mime_version
default_mime_version=
default_url_options
default_url_options=
delegate
deliver
deliveries
deliveries=
delivery_method
delivery_method=
delivery_method?
deprecate
deprecated_method_warning
deprecation_horizon
display
dup
duplicable?
enable_warnings
encode64
enum_for
eql?
equal?
extend
extend_with_included_modules_from
extended_by
find_hidden_method
freeze
frozen?
hash
helper
helper_attr
helper_method
html_safe?
id
include?
included_in_classes
included_modules
inheritable_attributes
inspect
instance_eval
instance_exec
instance_method
instance_methods
instance_of?
instance_values
instance_variable_defined?
instance_variable_get
instance_variable_names
instance_variable_set
instance_variables
is_a?
json_creatable?
kind_of?
layout
layout_conditions
layout_list
load_with_new_constant_marking
local_constant_names
local_constants
logger
logger=
mailer_name
mailer_name=
master_helper_module
master_helper_module=
mattr_accessor
mattr_reader
mattr_writer
metaclass
metaclass_with_deprecation
metaclass_without_deprecation
method
method_added
method_defined?
method_missing
methods
model_name
module_eval
module_exec
n_
name
nil?
ns_
object_id
parent
parent_name
parents
perform_deliveries
perform_deliveries=
presence
present?
private_class_method
private_instance_methods
private_method_defined?
private_methods
protected_instance_methods
protected_instance_variables
protected_method_defined?
protected_methods
public_class_method
public_instance_methods
public_method_defined?
public_methods
raise_delivery_errors
raise_delivery_errors=
read_inheritable_attribute
receive
remove_class
remove_possible_method
remove_subclasses
remove_subclasses_of
require
require_association
require_dependency
require_library_or_gem
require_or_load
reset_inheritable_attributes
respond_to?
returning
s_
send
sendmail_settings
sendmail_settings=
silence_stderr
silence_stream
silence_warnings
singleton_class
singleton_methods
smtp_settings
smtp_settings=
subclasses
subclasses_of
superclass
superclass_delegating_accessor
superclass_delegating_reader
superclass_delegating_writer
suppress
suppress_warnings
synchronize
taguri
taguri=
taint
tainted?
tap
template_root
template_root=
to_a
to_enum
to_interlock_tag
to_json
to_param
to_query
to_s
to_yaml
to_yaml_properties
to_yaml_style
try
type
unloadable
untaint
view_paths
view_paths=
with_options
write_inheritable_array
write_inheritable_attribute
write_inheritable_hash
yaml_as
yaml_tag_class_name
yaml_tag_read_class
yaml_tag_subclasses?
/Users/robin/mySociety/WDTK/alaveteli/vendor/plugins/whatdotheyknow-theme/lib/./model_patches.rb:64:in `alias_method': undefined method `alert_new_response_reminders' for class `RequestMailer' (NameError)
from /Users/robin/mySociety/WDTK/alaveteli/vendor/plugins/whatdotheyknow-theme/lib/./model_patches.rb:64
from /Users/robin/mySociety/WDTK/alaveteli/vendor/plugins/whatdotheyknow-theme/lib/./model_patches.rb:24:in `class_eval'
from /Users/robin/mySociety/WDTK/alaveteli/vendor/plugins/whatdotheyknow-theme/lib/./model_patches.rb:24
from /Users/robin/mySociety/WDTK/alaveteli/vendor/rails/activesupport/lib/active_support/callbacks.rb:182:in `call'
from /Users/robin/mySociety/WDTK/alaveteli/vendor/rails/activesupport/lib/active_support/callbacks.rb:182:in `evaluate_method'
from /Users/robin/mySociety/WDTK/alaveteli/vendor/rails/activesupport/lib/active_support/callbacks.rb:166:in `call'
from /Users/robin/mySociety/WDTK/alaveteli/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `run'
from /Users/robin/mySociety/WDTK/alaveteli/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `each'
from /Users/robin/mySociety/WDTK/alaveteli/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `send'
from /Users/robin/mySociety/WDTK/alaveteli/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `run'
from /Users/robin/mySociety/WDTK/alaveteli/vendor/rails/activesupport/lib/active_support/callbacks.rb:276:in `run_callbacks'
from /Users/robin/mySociety/WDTK/alaveteli/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:51:in `send'
from /Users/robin/mySociety/WDTK/alaveteli/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:51:in `run_prepare_callbacks'
from ./script/../config/../vendor/rails/railties/lib/initializer.rb:631:in `prepare_dispatcher'
from ./script/../config/../vendor/rails/railties/lib/initializer.rb:185:in `process'
from ./script/../config/../vendor/rails/railties/lib/initializer.rb:113:in `send'
from ./script/../config/../vendor/rails/railties/lib/initializer.rb:113:in `run'
from /Users/robin/mySociety/WDTK/alaveteli/config/environment.rb:38
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in `require'
from /Users/robin/mySociety/WDTK/alaveteli/vendor/rails/railties/lib/commands/runner.rb:39
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in `require'
from script/runner:38
from script/runner:8:in `chdir'
from script/runner:8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment