About a month ago I launched my community engine site into the wild.
At the time, I had some caching issues with the front page. I read up
on how caching works in rails and looked at the code a bit, but
everything looked OK. So I figured it was best to disable caching for
the site_index action
:32 PM, Justin G jtgei...@gmail.com wrote:
About a month ago I launched my community engine site into the wild.
At the time, I had some caching issues with the front page. I read up
on how caching works in rails and looked at the code a bit, but
everything looked OK. So I figured
I just commited a few fixes to the sitemap views. The first commit
fixes a bug where the post urls were not being correctly generated.
It would frequently produce urls without a login slug, ex: //posts/
1-...
I've found what I believe is a security bug in the comments
controller. Here is the offending action:
def show
@comment = Comment.find(params[:id])
render :text = @comment.inspect
end
The problem is that we are rendering the entire comment object to any
logged in user. This gives
I want to give a quick shout out to commit cfa4bac5a2. I've been
thinking about making enhancements to the events system and I'm glad
to see that other improvements are being made as well.
I'm announcing my plans to get feedback from others who are trying to
use events in CE. Here are some of
Andrew, I've noticed this before for some models. Views would also
have to be added to make it work.
In this case a web interface probably isn't necessary. I would
recommend creating a migration in your app to add the countries you
need. You could also add them via the console but then you
This is great. I'm getting ready to re-launch my site with a new
custom theme and I have maybe another week of last minute tweaks and
testing before I do. SASS is something I found interesting when I
first started working on the re-theme, but I decided to stick what
what I knew I could get
Matt,
activities.map{|a| find(a.user_id) }
I ran into this exact same problem recently. You are absolutely
correct, in the line above find is being called with a scope. In this
case from a call in base_controller (scope: active).
User.active.find_by_activity({:limit = 5, :require_avatar =
Bruno,
For the record; you should rarely be
touching the CE plugin code (unless you're doing a bugfix or feature
addition that is intended to go back into core). Your local application
customizations should be done in your app directory, not directly to CE.
I have read this before but at the
Malcolm,
Thanks for that list of other projects. I think its interesting to
note that most of the projects you list are rails apps. Before
jumping to Community Engine (about 1 1/2 years ago) I ran an ELGG
implementation. At the time I had to decide between migrating to the
next version of ELGG
Steve,
Try adding the following to app/controllers/events_controller.rb right
below the other require:
require 'ri_cal'
This resolved an identical problem I was seeing this weekend. Search
engines were trying to download /events/ical.ics and causing an
NameError (Constant RiCal from ri_cal.rb
Bruno,
I am very excited about the rails3 port. I was able to successfully
run the tests also, but it took a bit of work for me to get my
environment set up correctly. Here are some of the steps I took to
get things working correctly. I hope this will help others that run
into similar issues.
Tim,
I got this same error as well. It required a small patch to the
gemspec of meta_search. You can see the associated pull request here:
https://github.com/bborn/meta_search/pull/1/files
If you point your gemfile to my rails3.1 branch at
git://github.com/jtgeibel/meta_search.git all should
Hugh,
Yes, I ran into these problems with psych as well. It doesn't support
some syntax that was being used.
You can see the associated commit here:
https://github.com/jtgeibel/communityengine/commit/42ceacf352ca925c4278b0491a30adf6d507e766
I'm not certain that this 1 commit covers all of the
Alex,
Try the following line in your Gemfile instead:
gem 'meta_search', :git = 'git://github.com/jtgeibel/
meta_search.git', :branch = 'rails3.1'
If you're new to rails, you could also try walking through my
installation instructions which I've tweaked slightly here:
Alex,
undefined method `identity_map=' for ActiveRecord::Base:Class
g:/ror/Ruby192/lib/ruby/gems/1.9.1/bundler/gems/rails-1bedee56314f/
activerecord/lib/active_record/base.rb:1025:in `method_missing'
It looks like you are running rails under Windows. That's probably
not related to this
16 matches
Mail list logo