yup, that was already done this way, remember I'm upgrading.
Thanks!
On Jun 17, 5:48 pm, moritz <[email protected]> wrote:
> Did you add APP_URL to your environment(s)?
>
> 7. Modify each environment file (development.rb, test.rb, and
> production.rb) as indicated below:
>
> # development.rb, production.rb, and test.rb should include something
> like:
> APP_URL = "http://localhost:3000" (or whatever your URL will be for
> that particular environment)
>
> On Jun 16, 8:59 pm, Alejandro <[email protected]> wrote:
>
> > Hi,
>
> > I'm trying to migrate to CE v1.0.2 and I'm having some problems.
>
> > 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}? "
>
> > I've tried in the console I18n.t :looking_for_most_x.l, :link =>'kk'
> > and it works fine
>
> > 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
>
> > 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
>
> > 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/
> > favorites_controller_test.rb" "vendor/plugins/community_engine/test/
> > functional/homepage_features_controller_test.rb" "vendor/plugins/
> > community_engine/test/functional/forums_controller_test.rb" "vendor/
> > plugins/community_engine/test/functional/theme_controller_test.rb"
> > "vendor/plugins/community_engine/test/functional/
> > skills_controller_test.rb" "vendor/plugins/community_engine/test/
> > functional/offerings_controller_test.rb" "vendor/plugins/
> > community_engine/test/functional/sb_posts_controller_test.rb" "vendor/
> > plugins/community_engine/test/functional/
> > categories_controller_test.rb" "vendor/plugins/community_engine/test/
> > functional/comments_controller_test.rb" "vendor/plugins/
> > community_engine/test/functional/clippings_controller_test.rb" "vendor/
> > plugins/community_engine/test/functional/votes_controller_test.rb"
> > "vendor/plugins/community_engine/test/functional/
> > photos_controller_test.rb" "vendor/plugins/community_engine/test/
> > functional/monitorships_controller_test.rb" "vendor/plugins/
> > community_engine/test/functional/base_controller_test.rb" "vendor/
> > plugins/community_engine/test/functional/ads_controller_test.rb"
> > "vendor/plugins/community_engine/test/functional/
> > events_controller_test.rb" "vendor/plugins/community_engine/test/
> > functional/invitations_controller_test.rb" "vendor/plugins/
> > community_engine/test/functional/contests_controller_test.rb" "vendor/
> > plugins/community_engine/test/functional/admin_controller_test.rb"
> > "vendor/plugins/community_engine/test/functional/
> > users_controller_test.rb" "vendor/plugins/community_engine/test/
> > functional/friendships_controller_test.rb" "vendor/plugins/
> > community_engine/test/functional/sitemap_controller_test.rb" "vendor/
> > plugins/community_engine/test/functional/topics_controller_test.rb"
> > "vendor/plugins/community_engine/test/functional/
> > metro_areas_controller_test.rb" "vendor/plugins/community_engine/test/
> > unit/friendship_test.rb" "vendor/plugins/community_engine/test/unit/
> > asset_test.rb" "vendor/plugins/community_engine/test/unit/
> > state_test.rb" "vendor/plugins/community_engine/test/unit/
> > event_test.rb" "vendor/plugins/community_engine/test/unit/
> > topic_test.rb" "vendor/plugins/community_engine/test/unit/
> > category_test.rb" "vendor/plugins/community_engine/test/unit/
> > clipping_image_test.rb" "vendor/plugins/community_engine/test/unit/
> > sb_post_test.rb" "vendor/plugins/community_engine/test/unit/
> > ad_test.rb" "vendor/plugins/community_engine/test/unit/
> > contest_test.rb" "vendor/plugins/community_engine/test/unit/
> > favorite_test.rb" "vendor/plugins/community_engine/test/unit/
> > photo_test.rb" "vendor/plugins/community_engine/test/unit/
> > choice_test.rb" "vendor/plugins/community_engine/test/unit/
> > comment_test.rb" "vendor/plugins/community_engine/test/unit/
> > message_test.rb" "vendor/plugins/community_engine/test/unit/
> > skill_test.rb" "vendor/plugins/community_engine/test/unit/
> > clipping_test.rb" "vendor/plugins/community_engine/test/unit/
> > country_test.rb" "vendor/plugins/community_engine/test/unit/
> > post_test.rb" "vendor/plugins/community_engine/test/unit/poll_test.rb"
> > "vendor/plugins/community_engine/test/unit/offering_test.rb" "vendor/
> > plugins/community_engine/test/unit/homepage_feature_test.rb" "vendor/
> > plugins/community_engine/test/unit/friendship_status_test.rb" "vendor/
> > plugins/community_engine/test/unit/forum_test.rb" "vendor/plugins/
> > community_engine/test/unit/invitation_test.rb" "vendor/plugins/
> > community_engine/test/unit/vote_test.rb" "vendor/plugins/
> > community_engine/test/unit/moderatorship_test.rb" "vendor/plugins/
> > community_engine/test/unit/user_notifier_test.rb" "vendor/plugins/
> > community_engine/test/unit/user_test.rb" "vendor/plugins/
> > community_engine/test/unit/metro_area_test.rb" "vendor/plugins/
> > community_engine/test/unit/monitorships_test.rb"
> > /var/lib/gems/1.8/gems/desert-0.5.0/lib/desert/rails/dependencies.rb:
> > 15:in `load_missing_constant': Constant APP_URL from app_url.rb not
> > found (NameError)
> > from /home/alejandro/.gem/ruby/1.8/gems/activesupport-2.3.2/
> > lib/active_support/dependencies.rb:80:in
> > `const_missing_not_from_s3_library'
> > from /var/lib/gems/1.8/gems/aws-s3-0.6.2/lib/aws/s3/
> > extensions.rb:206:in `const_missing'
> > from /home/alejandro/.gem/ruby/1.8/gems/activesupport-2.3.2/
> > lib/active_support/dependencies.rb:92:in `const_missing'
> > from /home/alejandro/.gem/ruby/1.8/gems/activesupport-2.3.2/
> > lib/active_support/dependencies.rb:98:in `send'
> > from /home/alejandro/.gem/ruby/1.8/gems/activesupport-2.3.2/
> > lib/active_support/dependencies.rb:98:in `const_missing'
> > from /home/alejandro/workspaces/Mio/Rails/social_network/
> > vendor/plugins/community_engine/app/models/user_notifier.rb:7
> > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
> > `gem_original_require'
> > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
> > `require'
> > from /home/alejandro/.gem/ruby/1.8/gems/activesupport-2.3.2/
> > lib/active_support/dependencies.rb:158:in `require_without_desert'
> > from /var/lib/gems/1.8/gems/desert-0.5.0/lib/desert/ruby/
> > object.rb:8:in `require'
> > from /var/lib/gems/1.8/gems/desert-0.5.0/lib/desert/ruby/
> > object.rb:32:in `__each_matching_file'
> > from /var/lib/gems/1.8/gems/desert-0.5.0/lib/desert/ruby/
> > object.rb:7:in `require'
>
> > I probably have more errors, but I'm done for today :)
>
> > Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---