Hi Nelson, This seems to be caused by a bug or something related with Arel.
If you follow https://github.com/bborn/communityengine/pull/17#issuecomment-969630 you can see what is going on. At the moment I'm using my forked version of CE, because I haven't had the time to check into arel, and as it is in rails3 branch it won't work because that bug isn't resolved yet. -- Adolfo On Apr 9, 5:11 pm, Nelson <[email protected]> wrote: > Hello, > > I follow all steps from :https://github.com/bborn/communityengine/tree/rails3 > > Everything seems ok, neither error nor warning. > > But, when i launch for the first time the app. I have the error : > > ------------ > > NoMethodError in BaseController#site_index > > undefined method `name' for "posts":String > > -------------- > > Logs : > > Activity Load (1.0ms) SELECT activities.user_id, count(*) as count > FROM `activities` LEFT JOIN users ON users.id = activities.user_id > WHERE (activities.created_at > '2011-04-02 21:36:34') AND > ( users.activated_at IS NOT NULL) GROUP BY activities.user_id ORDER BY > count DESC LIMIT 5 > (1.6ms) SHOW TABLES > (2.0ms) describe `posts` > Completed 500 Internal Server Error in 666ms > > NoMethodError (undefined method `name' for "posts":String): > > Have you some clues ? -- 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.
