Thanks for the help Bruno, I'm still trying to migrate.
I'm getting this error now:
Showing vendor/plugins/community_engine/app/views/polls/
_excerpt.html.haml where line #4 raised:
stack level too deep
Extracted source (around line #4):
1: .poll_excerpt
2: =image_tag 'icons/poll.png', :plugin => 'community_engine'
3: = poll.question
4: = link_to :vote_now.l, new_vote_path(:post_id => poll.post.id),
{:title => 'Log in to vote', :class => 'vote'}
I don't have a clue why it's happening...
One question: is there any way to run my migrations on the test db?
Thanks!
On Jun 22, 2:35 pm, Bruno Bornsztein <[email protected]>
wrote:
> > 1) Translations like :looking_for_most_x.l :link => link_to("#
> > {:recent.l}?", recent_path) are not working, it shows "¿Buscando lo
> > más {link}? "
>
> Check your language file. Translations with tokens should be of the form:
> about_site: "About {{site}}"
>
> (Note the double curly braces)
>
>
>
> > 2) When a mail is being sent, I have this error:
>
> > TypeError (superclass mismatch for class UserNotifier):
> > app/models/user_notifier.rb:1
> > desert (0.5.0) lib/desert/rails/dependencies.rb:67:in
> > `define_constant_from_file'
> > desert (0.5.0) lib/desert/rails/dependencies.rb:66:in `each'
> > desert (0.5.0) lib/desert/rails/dependencies.rb:66:in
> > `define_constant_from_file'
> > desert (0.5.0) lib/desert/rails/dependencies.rb:45:in
> > `define_constant_with_desert_loading'
> > desert (0.5.0) lib/desert/rails/dependencies.rb:8:in
> > `load_missing_constant'
> > /var/lib/gems/1.8/gems/aws-s3-0.6.2/lib/aws/s3/extensions.rb:206:in
> > `const_missing'
> > desert (0.5.0) lib/desert/rails/dependencies.rb:54:in
> > `look_for_constant_in_parent_module'
> > desert (0.5.0) lib/desert/rails/dependencies.rb:13:in
> > `load_missin....
>
> > I'm using ARMailer
>
> I seem to remember something about AR mailer requiring your notifier class
> to inherit from ARMailer instead
> of ActionMailer::Base. Are you overriding the UserNotifer class in
> your app? If so, are you having it inherit from ARMailer? If so,
> you'll get a superclass mismatch. I don't know if there's anyway to
> override a class and change it's parent class dynamically (might have
> to ask someone with better Ruby skills than me).
>
>
>
>
>
> > 3) In forums/recent:
>
> > forum_url failed to generate from
> > {:controller=>"forums", :id=>nil, :action=>"show"}, expected:
> > {:controller=>"forums", :action=>"show"}, diff: {:id=>nil}
> > Extracted source (around line #49):
>
> > 46: = pluralize @users[post.user_id].sb_posts_count,
> > 'post'
> > 47: %td.body.entry-content
> > 48: %p.topic
> > 49: = link_to(h(post.forum_name), forum_path(post.forum))
> > 50: \/
> > 51: = link_to h(post.topic_title), forum_topic_path
> > (post.forum, post.topic)
> > 52: = post.body_html
>
> Maybe you have a SbPost without an associate Forum object somehow? Looks
> like url_for is trying to call post.forum, and getting nil, so your
> forum_url has no forum.id or forum.to_param to use when generating the
> route.
>
>
>
> > 4) When I run rake community_engine:test, I get this error:
>
> > /usr/bin/ruby1.8 -I"lib:lib" "/var/lib/gems/1.8/gems/rake-0.8.7/lib/
> > rake/rake_test_loader.rb" "vendor/plugins/community_engine/test/
> > functional/posts_controller_test.rb" "vendor/plugins/community_engine/
> > test/functional/tags_controller_test.rb" "vendor/plugins/
> > community_engine/test/functional/moderators_controller_test.rb"
> > "vendor/plugins/community_engine/test/functional/
> > sessions_controller_test.rb" "vendor/plugins/community_engine/test/
> > functional/activities_controller_test.rb" "vendor/plugins/
> > community_engine/test/functional/statistics_controller_test.rb"
> > "vendor/plugins/community_engine/test/functional/ /.....
>
> Woah. That just indicates to me that something's wrong with your setup.
> Maybe something is calling APP_URL before it has been set, so Desert tries
> to look for a file where that constant is defined, but finds none.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CommunityEngine" 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/communityengine?hl=en
-~----------~----~----~----~------~----~------~--~---