Displaying 1 result from an estimated 1 matches for "_metered_service".
Did you mean:
metered_service
2011 Mar 01
6
render :collection calling partial with phantom object?
...this line:
<% Rails.logger.debug("== #{@premise.address} has
#{@premise.metered_services.count} metered services") %>
<%= render :partial => "metered_services/metered_service", :collection
=> @premise.metered_services %>
and my stubbed views/metered_services/_metered_service.html.erb is just
this:
<% Rails.logger.debug("== _metered_service: metered_service =
#{metered_service.inspect}") %>
So here''s what''s weird: With a newly created premise -- before I''ve
added any metered services -- the _metered_service.html.erb partial g...