Changing the file config/environments/development.rb, line
config.cache_classes = false

to
config.cache_classes = true

Resolves this issue however with turned on (by my limited
understanding) this is going to make development quite annoying, as
I'll have to touch the environment.rb file after every class change to
reload mongrel.

On May 21, 11:46 pm, waldo <[EMAIL PROTECTED]> wrote:
> Has anyone got has_many_polymorphs working on Heroku specifically its
> script/generate tagging ClassX function?
>
> Some details of my situation:
>
> Cloning my heroku app locally (no other change) and the various tag
> functions work.
>
> Locally:>> r.methods.sort.grep( /tag/ )
>
> => ["_add_tags", "_remove_tags", "tag_ids", "tag_list", "tag_with",
> "tagging_ids", "tagging_ids=", "taggings", "taggings=", "tags",
> "tags=", "taguri", "taguri=",
> "validate_associated_records_for_taggings"]>> r.tag_list
> => ""
> >> r.tag_with "fierce"
> >> r.tag_list
>
> => "fierce"
>
> On Heroku:>>r.methods.sort.grep( /tag/ )
>
> ["_add_tags", "_remove_tags", "tag_list", "tag_with", "taguri",
> "taguri="]>>r.tag_list
>
> RuntimeError: ClassX is not a taggable model
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to