Displaying 1 result from an estimated 1 matches for "in_city_like".
2012 Nov 29
2
[Rails 3.2] form_tag w :remote => true doesn't fire up the js format
...Search", "action"=>"search",
"controller"=>"backoffice/places", "locale"=>"en"}
backoffice/places_controller.rb
respond_to :html, :js
..
def search
... params received
@places = Place.in_country_like(@country).in_city_like(@city)...... #
@places found 1
respond_to do |format|
format.html { render :index }
format.js { } <= should render search.js.erb BUT not ...
end
end
what''s could be wrong ? thanks for feedback ( using asset pipeline )
--
You received this me...