Displaying 2 results from an estimated 2 matches for "activated_memb".
2011 Mar 23
0
Implementing auto complete for more than one field in Rails
...ml.erb** of groups:-
<%for inv_group in @investor_groups%>
<div class="inv_group_img" align="center"><%=image_tag
"investor_groups/#{inv_group.title}.jpg"%></div>
<div class="inv_group_details">
<%=inv_group.activated_members.size%><br>
<%end%>
The alignment 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 requir...
2011 May 14
0
Undefined method `has_attached_file' with paperclip 2.3.8 gem for Rails 2 using Ruby 1.8.7
...ms/custom_require.rb:31:in
`require''
script/server:3
My groups_controller.rb show method looks like this, here line 27 is
`@group_post = GroupPost.new(params[:group_post])` :-
def show
@investor_group = InvestorGroup.find(params[:id])
@members = @investor_group.activated_members
# code taken from discuss method
investor_id = session[''investor_id'']
@investor = Investor.find(investor_id)
@members = @investor_group.activated_members
unless
@current_user.is_an_existing_member_of_group(@investor_group)
f...