> Thanks so much for the quick response, Kevin. I appreciate your time!
>
> Sorry, I should have mentioned that I have made those edits - they
> seemed more straightforward than this, so I did not include pasties of
> them, but perhaps I should have mentioned. The pasties are below.
>
> Seeing that I have done those, any further thoughts on getting the map
> drawn?
>
> Model:
>
> http://pastie.org/2613465
>
> Controller:
>
> http://pastie.org/2613476
Setting an instance variable at the class level won't do what you expect - for instance, this:
class SomeClass
@some_var = 'FOO'
def index
puts @some_var
end
end
will *not* display 'FOO'. You'll need to override the actions you want to load the @json instance variable, like this:
class BpsController < ApplicationController
hobo_model_controller
auto_actions :all
def index
@json = Bp.all.to_gmaps4rails
hobo_index
end
end
--Matt Jones