search for: members_count

Displaying 3 results from an estimated 3 matches for "members_count".

2005 Dec 15
1
migration: counter cache & "reset_column_information"
To speed up <%= @project.members_count %> , I added a counter cache to the ''projects'' table with the migration below: def self.up add_column "projects", "members_count", :string, :default => "0" Project.reset_column_information Project.find(:all).each do |p|...
2011 Mar 23
0
Implementing auto complete for more than one field in Rails
...lignment of the view might be hay wire currently, but thats not my immediate focus. Thus kindly, ignore the same. I have an idea of what I need to do and I have been able to write some code for the same in my groups_controller.rb To get what I require, I tried the following:- def calculate_members_count @investor_group = InvestorGroup.find(params[:id]) @members_count = @investor_group.activated_members.size return "@members_count", :title end Now this should give me the group title/name and the members_count. I am not sure how could I fetch the image also w...
2008 Jul 14
18
[git patches] Ocfs2 and Configfs updates for 2.6.27
I'm running a bit late with the e-mail this time around, but I think that's ok since there really isn't any major new features here - the bulk of the Ocfs2 update is bug fixes, or cleanups. The same goes for configfs. The only two things that could be described as features would be: - Sunil has updated Ocfs2 to provide even more live cluster locking information via debugfs. - Joel