Does acts-as-taggable-on work on heroku?

Posted by Martin on Stack Overflow See other posts from Stack Overflow or by Martin
Published on 2010-12-26T01:12:49Z Indexed on 2010/12/26 3:54 UTC
Read the original article Hit count: 336

Hello,

I have a question: does the acts-as-taggable-on gem work on Heroku?

I'been trying but it doesn't seem to work. In my development machine works okay. I'm wondering if it's maybe because Heroku uses PostgreSQL and my local env SQLite and for some reason postgresql is not supported by the special tagging "magic"?

I couldn't find any related info to this, so I would like to know other experiences with this. I guess is pretty rare since both the gem and heroku are very popular.

ActionView::Template::Error (undefined method `interests' for   "#<About:0x2b35d6125728>":About):

<% unless @user.about.interests.empty? %>
  <p><strong>interests and passions</strong><br />
  <% @user.about.interests.each do |tag| %>
    <%= tag %>, 
  <% end -%></p><% end %>

In my about.rb model i have

acts_as_taggable_on :interests, :music, :movies, :books, :tvs

Thank you in advance!

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about heroku