In hopes of getting help.. here is the exceptional log:
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/attribute_methods.rb:344:in
`respond_to?'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/attribute_methods.rb:344:in
`respond_to?'
/disk1/home/slugs/93479_3dc4473_8f41/mnt/vendor/plugins/2dc_jqgrid/lib/2dc_jqgrid.rb:391:in
`get_atr_value'
/disk1/home/slugs/93479_3dc4473_8f41/mnt/vendor/plugins/2dc_jqgrid/lib/2dc_jqgrid.rb:372:in
`to_jqgrid_json'
/disk1/home/slugs/93479_3dc4473_8f41/mnt/vendor/plugins/2dc_jqgrid/lib/2dc_jqgrid.rb:371:in
`each'
/disk1/home/slugs/93479_3dc4473_8f41/mnt/vendor/plugins/2dc_jqgrid/lib/2dc_jqgrid.rb:371:in
`to_jqgrid_json'
/disk1/home/slugs/93479_3dc4473_8f41/mnt/vendor/plugins/2dc_jqgrid/lib/2dc_jqgrid.rb:367:in
`each'
/disk1/home/slugs/93479_3dc4473_8f41/mnt/vendor/plugins/2dc_jqgrid/lib/2dc_jqgrid.rb:367:in
`to_jqgrid_json'
Also, Here is the code from 2dc_jqgrid.rb:
def get_atr_value(elem, atr, couples)
if atr.to_s.include?('.')
value = get_nested_atr_value(elem, atr.to_s.split('.').reverse)
else
value = couples[atr]
>> value = elem.send(atr.to_sym) if value.blank? &&
elem.respond_to?(atr) # Required for virtual attributes
end
value
end
I've marked the offending line with ">>".
On Wed, Jun 16, 2010 at 9:38 AM, Josh Coffman <[email protected]> wrote:
> Yikes, wrong link above. Very sorry about that. Here is the plugin page:
> http://www.2dconcept.com/jquery-grid-rails-plugin
> <http://www.2dconcept.com/jquery-grid-rails-plugin>
>
>
> On Wed, Jun 16, 2010 at 9:21 AM, josh <[email protected]> wrote:
>
>> I'm getting an error calling functionality enabled by a rails plugin.
>> It works locally, but not when I push to Heroku. I have a feeling
>> there's something I need to do to get it working. I installed the
>> plugin within my rails app and added it to the git repo. Do I need to
>> do something in addition on heroku?
>>
>> here is the plugin(s):
>>
>> http://privateerdiary.blogspot.com/2010/06/avoid-democrat-lite-scenario.html
>>
>> The error occurs in calling the method added by the plugin. In the
>> sample page, it would fail on this line:
>> format.json { render :json =>
>> users.to_jqgrid_json([:id,:pseudo,:firstname,:lastname,:email,:role],
>> params[:page],
>> params[:rows], users.total_entries) }
>>
>> Specifically, the call to to_jqgrid_json(..)
>>
>> Suggestions?
>>
>> Thanks,
>> -j
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Heroku" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<heroku%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/heroku?hl=en.
>>
>>
>
--
You received this message because you are subscribed to the Google Groups
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en.