Displaying 2 results from an estimated 2 matches for "grouppost".
Did you mean:
group_post
Unable to figure out why a photo attribute of the paperclip plugin is not being passed in as a param
2011 May 20
4
Unable to figure out why a photo attribute of the paperclip plugin is not being passed in as a param
...FROM `investor_groups`
WHERE (`investor_groups`.`id` = 10)
InvestorGroup Load (0.000207) SELECT investor_groups.* FROM
investor_groups INNER JOIN investor_group_members ON investor_groups.id
= investor_group_members.investor_group_id WHERE
((investor_group_members.investor_id = 397))
GroupPost Columns (0.002383) SHOW FIELDS FROM `group_posts`
SQL (0.000111) BEGIN
GroupPost Create (0.000342) INSERT INTO `group_posts`
(`post_by`, `created_at`, `photo_file_size`, `photo_file_name`,
`updated_at`, `investor_group_id`, `photo_content_type`, `message`)
VALUES(397, ''20...
2011 May 14
0
Undefined method `has_attached_file' with paperclip 2.3.8 gem for Rails 2 using Ruby 1.8.7
...ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require''
/home/mohnish/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/site_ruby/1.8/rubygems/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(inve...