search for: investor_id

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

2008 Jun 11
1
Resourse route in namespace with prefix error
...host:3000/trades/1/buys I get a strange error: ActionController::RoutingError in Trades/buys#index Showing trades/buys/index.html.erb where line #12 raised: trades_buy_url failed to generate from {:contract_id=>#<Trades::Buy id: 5951, asset_id: 309, type: "Buy", contract_id: 1, investor_id: 1, date: "2001-09-30", trade_status_id: 1, is_future_operation: false, quantity: #<BigDecimal:7fb8004,''0.2E2'',4(8)>, price: #<BigDecimal: 7fb7fb4,''0.623E1'',8(12)>, total: #<BigDecimal:7fb7f64,''0.1246E3'', 8(12)>, crea...
2011 May 14
0
Undefined method `has_attached_file' with paperclip 2.3.8 gem for Rails 2 using Ruby 1.8.7
...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) flash[:notice] = "Please join this group to participate in d...
2011 May 20
4
Unable to figure out why a photo attribute of the paperclip plugin is not being passed in as a param
...Load (0.000114) SELECT * 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`)...