Thanks for your help Bill,
The partial is in a folder called views/listings because it is shared
by two different models, ResidentialListing and CommercialListing,
both of which inherit (via STI) from a Listing model. The error is
occuring in Residential_listings#new because that is the template I am
requesting, namely: http://localhost:3000/residential_listings/new.
That template calls a _form partial, which in turn calls the listings/
_attachment partial. Anyway, so here''s some more code:
First the _form partial (in the folder views/residential_listings):
<%= error_messages_for ''residential_listing'' %>
<% form_for @residential_listing, :html => { :multipart => true } do |
f| %>
<p>
<%= f.label :title %><br />
<%= f.text_field :title %>
</p>
<p>
<%= f.label :description %><br />
<%= f.text_area :description, :class => "mceEditor" %>
</p>
<p>
<%= f.label :building_id %><br />
<select name="residential_listing[building_id]">
<% @buildings.each do |building| %>
<option value="<%= building.id %>">
<%= building.name %>
</option>
<% end %>
</select>
<%= submit_tag "Manage Buildings", :name =>
"buildings" %>
</p>
<p>
Apt. #<br />
<%= f.text_field :address %>
</p>
<p>
<%= f.check_box :show_real_address %> Show Address (if unchecked,
listing will showspace_type cross-streets)
</p>
<p>
<%= f.label :price %><br />
<%= f.text_field :price %>
</p>
<p>
Apartment Type<br />
<%= select( :residential_listing, :space_type, { "Studio" =>
"Studio",
"1 Bedroom" => "1 Bedroom",
"2 Bedroom" => "2 Bedroom",
"3 Bedroom+" => "3 Bedroom+"}) %>
</p>
<p>
BR: <%= f.text_field :beds, :size => 5 %> / BA: <%f.text_field
:baths, :size => 5 %>
</p>
<p>
<%= f.check_box :broker_fee %> Broker Fee?
</p>
<p>
<%= f.label :agent_id %><br />
<select name="residential_listing[agent_id]">
<% @agents.each do |agent| %>
<option value="<%= agent.id %>">
<%= agent.full_name %>
</option>
<% end %>
</select>
<%= submit_tag "Manage Agents", :name => "agents"
%>
</p>
<p>
<%= f.label :status %><br />
<%= select( :residential_listing, :status, { "Inactive" =>
"inactive", "Active" => "active"}) %>
</p>
<div id="attachments">
Images
<%= render( :partial => ''listings/attachment'',
:collection => residential_listing.attachments,
:locals => { :foo => "bar"}) %>
</div>
<p>
<%= add_image_link "Add Image" %>
</p>
<p>
<%= f.submit "Save Changes" %>
</p>
<% end -%>
-----------------
Here''s the _attachment partial (in the folder views/listings):
<%= foo %>
<div class="attachment">
<% new_or_existing = attachment.new_record? ? ''new'' :
''existing'' %>
<% prefix = "#{params[:controller].singularize}[#{new_or_existing}
_attachment_attributes][]" %>
<% fields_for prefix, attachment do |a_form| -%>
<% if new_or_existing == ''new'' -%>
<p>
<%= a_form.file_field :uploaded_data, :class =>
"formField", :index => nil %>
<%= link_to_function "Remove",
"$(this).up(''.attachment'').remove
()" %>
</p>
<% else -%>
<p>
<%= image_tag(attachment.public_filename(:thumb), :border => 0)%>
<%= a_form.file_field :uploaded_data , :style =>
''display:none'' %>
<%= link_to_function "Remove",
"$(this).up(''.attachment'').remove
()" %>
</p>
<% end -%>
<% end -%>
</div>
-----------------
And finally, the full error text:
NameError in Residential_listings#new
Showing app/views/listings/_attachment.html.erb where line #1 raised:
undefined local variable or method `foo'' for #<ActionView::Base:
0x1f49a88>
Extracted source (around line #1):
1: <%= foo %>
2: <div class="attachment">
3: <% new_or_existing = attachment.new_record? ? ''new'' :
''existing''
%>
4: <% prefix = "#{params[:controller].singularize}[#{new_or_existing}
_attachment_attributes][]" %>
Trace of template inclusion: app/views/residential_listings/
_form.html.erb, app/views/residential_listings/new.html.erb
RAILS_ROOT: /Users/jforrest/Documents/rails/listings
Application Trace | Framework Trace | Full Trace
app/views/listings/_attachment.html.erb:1
app/helpers/listings_helper.rb:4:in `__instance_exec0''
app/helpers/listings_helper.rb:3:in `add_image_link''
app/views/residential_listings/_form.html.erb:72
app/views/residential_listings/_form.html.erb:2
app/views/residential_listings/new.html.erb:3
app/controllers/residential_listings_controller.rb:52:in `new''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:76:in
`process''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:74:in
`synchronize''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:74:in
`process''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in
`process_client''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in
`process_client''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
`initialize''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in
`initialize''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:
282:in `run''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:
281:in `each''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:
281:in `run''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in
`run''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:
212:in `run''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
vendor/rails/actionpack/lib/action_view/renderable.rb:39:in `send''
vendor/rails/actionpack/lib/action_view/renderable.rb:39:in `render''
vendor/rails/actionpack/lib/action_view/renderable_partial.rb:20:in
`render''
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:26:in
`benchmark''
vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:
8:in `realtime''
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:26:in
`benchmark''
vendor/rails/actionpack/lib/action_view/renderable_partial.rb:19:in
`render''
vendor/rails/actionpack/lib/action_view/template.rb:73:in
`render_template''
vendor/rails/actionpack/lib/action_view/renderable_partial.rb:45:in
`render_partial''
vendor/rails/actionpack/lib/action_view/partials.rb:152:in
`render_partial''
vendor/rails/actionpack/lib/action_view/base.rb:258:in `render''
vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb:
1002:in `render''
vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb:
752:in `insert_html''
vendor/rails/activesupport/lib/active_support/core_ext/object/
extending.rb:74:in `send''
vendor/rails/activesupport/lib/active_support/core_ext/object/
extending.rb:74:in `instance_exec''
vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb:
587:in `initialize''
vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb:
129:in `with_output_buffer''
vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb:
586:in `initialize''
vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb:
1038:in `new''
vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb:
1038:in `update_page''
vendor/rails/actionpack/lib/action_view/helpers/javascript_helper.rb:
91:in `link_to_function''
vendor/rails/actionpack/lib/action_view/helpers/form_helper.rb:313:in
`fields_for''
vendor/rails/actionpack/lib/action_view/helpers/form_helper.rb:253:in
`form_for''
vendor/rails/actionpack/lib/action_view/renderable.rb:39:in `send''
vendor/rails/actionpack/lib/action_view/renderable.rb:39:in `render''
vendor/rails/actionpack/lib/action_view/renderable_partial.rb:20:in
`render''
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:26:in
`benchmark''
vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:
8:in `realtime''
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:26:in
`benchmark''
vendor/rails/actionpack/lib/action_view/renderable_partial.rb:19:in
`render''
vendor/rails/actionpack/lib/action_view/template.rb:73:in
`render_template''
vendor/rails/actionpack/lib/action_view/renderable_partial.rb:45:in
`render_partial''
vendor/rails/actionpack/lib/action_view/partials.rb:152:in
`render_partial''
vendor/rails/actionpack/lib/action_view/base.rb:258:in `render''
vendor/rails/actionpack/lib/action_view/renderable.rb:39:in `send''
vendor/rails/actionpack/lib/action_view/renderable.rb:39:in `render''
vendor/rails/actionpack/lib/action_view/template.rb:73:in
`render_template''
vendor/rails/actionpack/lib/action_view/base.rb:256:in `render''
vendor/rails/actionpack/lib/action_view/base.rb:367:in
`_render_with_layout''
vendor/rails/actionpack/lib/action_view/base.rb:254:in `render''
vendor/rails/actionpack/lib/action_controller/base.rb:1174:in
`render_for_file''
vendor/rails/actionpack/lib/action_controller/base.rb:905:in
`render_without_benchmark''
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in
`render''
vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:
8:in `realtime''
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in
`render''
vendor/rails/actionpack/lib/action_controller/mime_responds.rb:135:in
`send''
vendor/rails/actionpack/lib/action_controller/mime_responds.rb:135:in
`custom''
vendor/rails/actionpack/lib/action_controller/mime_responds.rb:164:in
`call''
vendor/rails/actionpack/lib/action_controller/mime_responds.rb:164:in
`respond''
vendor/rails/actionpack/lib/action_controller/mime_responds.rb:158:in
`each''
vendor/rails/actionpack/lib/action_controller/mime_responds.rb:158:in
`respond''
vendor/rails/actionpack/lib/action_controller/mime_responds.rb:107:in
`respond_to''
vendor/rails/actionpack/lib/action_controller/base.rb:1253:in `send''
vendor/rails/actionpack/lib/action_controller/base.rb:1253:in
`perform_action_without_filters''
vendor/rails/actionpack/lib/action_controller/filters.rb:617:in
`call_filters''
vendor/rails/actionpack/lib/action_controller/filters.rb:610:in
`perform_action_without_benchmark''
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in
`perform_action_without_rescue''
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
1.8/benchmark.rb:293:in `measure''
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in
`perform_action_without_rescue''
vendor/rails/actionpack/lib/action_controller/rescue.rb:136:in
`perform_action_without_caching''
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:
13:in `perform_action''
vendor/rails/activerecord/lib/active_record/connection_adapters/
abstract/query_cache.rb:34:in `cache''
vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in
`cache''
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:
12:in `perform_action''
vendor/rails/actionpack/lib/action_controller/base.rb:524:in `send''
vendor/rails/actionpack/lib/action_controller/base.rb:524:in
`process_without_filters''
vendor/rails/actionpack/lib/action_controller/filters.rb:606:in
`process_without_session_management_support''
vendor/rails/actionpack/lib/action_controller/session_management.rb:
134:in `process''
vendor/rails/actionpack/lib/action_controller/base.rb:392:in `process''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:183:in
`handle_request''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:110:in
`dispatch_unlocked''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:123:in
`dispatch''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:122:in
`synchronize''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:122:in
`dispatch''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:132:in
`dispatch_cgi''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:39:in
`dispatch''
vendor/rails/activesupport/lib/active_support/dependencies.rb:142:in
`load_without_new_constant_marking''
vendor/rails/activesupport/lib/active_support/dependencies.rb:142:in
`load''
vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in
`new_constants_in''
vendor/rails/activesupport/lib/active_support/dependencies.rb:142:in
`load''
vendor/rails/railties/lib/commands/servers/mongrel.rb:64
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`gem_original_require''
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require''
vendor/rails/activesupport/lib/active_support/dependencies.rb:153:in
`require''
vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in
`new_constants_in''
vendor/rails/activesupport/lib/active_support/dependencies.rb:153:in
`require''
vendor/rails/railties/lib/commands/server.rb:49
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`gem_original_require''
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require''
script/server:3
app/views/listings/_attachment.html.erb:1
vendor/rails/actionpack/lib/action_view/renderable.rb:39:in `send''
vendor/rails/actionpack/lib/action_view/renderable.rb:39:in `render''
vendor/rails/actionpack/lib/action_view/renderable_partial.rb:20:in
`render''
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:26:in
`benchmark''
vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:
8:in `realtime''
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:26:in
`benchmark''
vendor/rails/actionpack/lib/action_view/renderable_partial.rb:19:in
`render''
vendor/rails/actionpack/lib/action_view/template.rb:73:in
`render_template''
vendor/rails/actionpack/lib/action_view/renderable_partial.rb:45:in
`render_partial''
vendor/rails/actionpack/lib/action_view/partials.rb:152:in
`render_partial''
vendor/rails/actionpack/lib/action_view/base.rb:258:in `render''
vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb:
1002:in `render''
vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb:
752:in `insert_html''
app/helpers/listings_helper.rb:4:in `__instance_exec0''
vendor/rails/activesupport/lib/active_support/core_ext/object/
extending.rb:74:in `send''
vendor/rails/activesupport/lib/active_support/core_ext/object/
extending.rb:74:in `instance_exec''
vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb:
587:in `initialize''
vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb:
129:in `with_output_buffer''
vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb:
586:in `initialize''
vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb:
1038:in `new''
vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb:
1038:in `update_page''
vendor/rails/actionpack/lib/action_view/helpers/javascript_helper.rb:
91:in `link_to_function''
app/helpers/listings_helper.rb:3:in `add_image_link''
app/views/residential_listings/_form.html.erb:72
vendor/rails/actionpack/lib/action_view/helpers/form_helper.rb:313:in
`fields_for''
vendor/rails/actionpack/lib/action_view/helpers/form_helper.rb:253:in
`form_for''
app/views/residential_listings/_form.html.erb:2
vendor/rails/actionpack/lib/action_view/renderable.rb:39:in `send''
vendor/rails/actionpack/lib/action_view/renderable.rb:39:in `render''
vendor/rails/actionpack/lib/action_view/renderable_partial.rb:20:in
`render''
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:26:in
`benchmark''
vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:
8:in `realtime''
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:26:in
`benchmark''
vendor/rails/actionpack/lib/action_view/renderable_partial.rb:19:in
`render''
vendor/rails/actionpack/lib/action_view/template.rb:73:in
`render_template''
vendor/rails/actionpack/lib/action_view/renderable_partial.rb:45:in
`render_partial''
vendor/rails/actionpack/lib/action_view/partials.rb:152:in
`render_partial''
vendor/rails/actionpack/lib/action_view/base.rb:258:in `render''
app/views/residential_listings/new.html.erb:3
vendor/rails/actionpack/lib/action_view/renderable.rb:39:in `send''
vendor/rails/actionpack/lib/action_view/renderable.rb:39:in `render''
vendor/rails/actionpack/lib/action_view/template.rb:73:in
`render_template''
vendor/rails/actionpack/lib/action_view/base.rb:256:in `render''
vendor/rails/actionpack/lib/action_view/base.rb:367:in
`_render_with_layout''
vendor/rails/actionpack/lib/action_view/base.rb:254:in `render''
vendor/rails/actionpack/lib/action_controller/base.rb:1174:in
`render_for_file''
vendor/rails/actionpack/lib/action_controller/base.rb:905:in
`render_without_benchmark''
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in
`render''
vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:
8:in `realtime''
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in
`render''
vendor/rails/actionpack/lib/action_controller/mime_responds.rb:135:in
`send''
vendor/rails/actionpack/lib/action_controller/mime_responds.rb:135:in
`custom''
vendor/rails/actionpack/lib/action_controller/mime_responds.rb:164:in
`call''
vendor/rails/actionpack/lib/action_controller/mime_responds.rb:164:in
`respond''
vendor/rails/actionpack/lib/action_controller/mime_responds.rb:158:in
`each''
vendor/rails/actionpack/lib/action_controller/mime_responds.rb:158:in
`respond''
vendor/rails/actionpack/lib/action_controller/mime_responds.rb:107:in
`respond_to''
app/controllers/residential_listings_controller.rb:52:in `new''
vendor/rails/actionpack/lib/action_controller/base.rb:1253:in `send''
vendor/rails/actionpack/lib/action_controller/base.rb:1253:in
`perform_action_without_filters''
vendor/rails/actionpack/lib/action_controller/filters.rb:617:in
`call_filters''
vendor/rails/actionpack/lib/action_controller/filters.rb:610:in
`perform_action_without_benchmark''
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in
`perform_action_without_rescue''
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
1.8/benchmark.rb:293:in `measure''
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in
`perform_action_without_rescue''
vendor/rails/actionpack/lib/action_controller/rescue.rb:136:in
`perform_action_without_caching''
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:
13:in `perform_action''
vendor/rails/activerecord/lib/active_record/connection_adapters/
abstract/query_cache.rb:34:in `cache''
vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in
`cache''
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:
12:in `perform_action''
vendor/rails/actionpack/lib/action_controller/base.rb:524:in `send''
vendor/rails/actionpack/lib/action_controller/base.rb:524:in
`process_without_filters''
vendor/rails/actionpack/lib/action_controller/filters.rb:606:in
`process_without_session_management_support''
vendor/rails/actionpack/lib/action_controller/session_management.rb:
134:in `process''
vendor/rails/actionpack/lib/action_controller/base.rb:392:in `process''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:183:in
`handle_request''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:110:in
`dispatch_unlocked''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:123:in
`dispatch''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:122:in
`synchronize''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:122:in
`dispatch''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:132:in
`dispatch_cgi''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:39:in
`dispatch''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:76:in
`process''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:74:in
`synchronize''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:74:in
`process''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in
`process_client''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in
`process_client''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
`initialize''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in
`initialize''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:
282:in `run''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:
281:in `each''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:
281:in `run''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in
`run''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:
212:in `run''
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
vendor/rails/activesupport/lib/active_support/dependencies.rb:142:in
`load_without_new_constant_marking''
vendor/rails/activesupport/lib/active_support/dependencies.rb:142:in
`load''
vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in
`new_constants_in''
vendor/rails/activesupport/lib/active_support/dependencies.rb:142:in
`load''
vendor/rails/railties/lib/commands/servers/mongrel.rb:64
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`gem_original_require''
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require''
vendor/rails/activesupport/lib/active_support/dependencies.rb:153:in
`require''
vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in
`new_constants_in''
vendor/rails/activesupport/lib/active_support/dependencies.rb:153:in
`require''
vendor/rails/railties/lib/commands/server.rb:49
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`gem_original_require''
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require''
script/server:3
Request
Parameters:
None
Show session dump
---
:interrupted_listing:
:interrupted_location:
:action: new
:controller: residential_listings
:id:
flash: !map:ActionController::Flash::FlashHash {}
:password: broome
Response
Headers:
{"cookie"=>[],
"Content-Type"=>"text/html",
"Cache-Control"=>"no-cache"}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---