Issue #11006 has been reported by Pubudu Kodikara.

----------------------------------------
Bug #11006: Segmentation fault on Ruby 2.2.1
https://bugs.ruby-lang.org/issues/11006

* Author: Pubudu Kodikara
* Status: Open
* Priority: Urgent
* Assignee: 
* ruby -v: 2.2.1
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
I built a photo hosting app where people can upload and sell photos. I just tried to test the site. Everything worked earlier but now when I try to upload a photo (I use carrierwave) the rails server stops (It crash and shuts down). The error is so long that I can't even see the start of it. The development log doesn't get this error. Here's the error I get :

~~~
SQL (0.3ms)  UPDATE "photos" SET "tempfile" = $1, "width" = $2, "height" = $3, "resolution" = $4, "filetype" = $5, "tempthumb" = $6, "user_id" = $7, "originalname" = $8, "id" = $9, "created_at" = $10, "updated_at" = $11 WHERE "photos"."id" = $12  [["tempfile", "istockseller-49055024-wallhaven-164660.jpg"], ["width", 4636], ["height", 3076], ["resolution", 72], ["filetype", "jpg"], ["tempthumb", "istockseller-thumb-59694024-wallhaven-164660.jpg"], ["user_id", 1], ["originalname", "wallhaven-164660.jpg"], ["id", 59694024], ["created_at", "2015-03-27 08:33:15.999380"], ["updated_at", "2015-03-27 08:33:15.999380"], ["id", 59694024]]
  SQL (0.3ms)  UPDATE "photos" SET "tempfile" = $1, "width" = $2, "height" = $3, "resolution" = $4, "filetype" = $5, "tempthumb" = $6, "user_id" = $7, "originalname" = $8, "id" = $9, "created_at" = $10, "updated_at" = $11 WHERE "photos"."id" = $12  [["tempfile", "istockseller-49055024-wallhaven-164660.jpg"], ["width", 4636], ["height", 3076], ["resolution", 72], ["filetype", "jpg"], ["tempthumb", "istockseller-thumb-59694024-wallhaven-164660.jpg"], ["user_id", 1], ["originalname", "wallhaven-164660.jpg"], ["id", 59694024], ["created_at", "2015-03-27 08:33:15.999380"], ["updated_at", "2015-03-27 08:33:15.999380"], ["id", 59694024]]
  SQL (0.3ms)  UPDATE "photos" SET "tempfile" = $1, "width" = $2, "height" = $3, "resolution" = $4, "filetype" = $5, "tempthumb" = $6, "user_id" = $7, "originalname" = $8, "id" = $9, "created_at" = $10, "updated_at" = $11 WHERE "photos"."id" = $12  [["tempfile", "istockseller-49055024-wallhaven-164660.jpg"], ["width", 4636], ["height", 3076], ["resolution", 72], ["filetype", "jpg"], ["tempthumb", "istockseller-thumb-59694024-wallhaven-164660.jpg"], ["user_id", 1], ["originalname", "wallhaven-164660.jpg"], ["id", 59694024], ["created_at", "2015-03-27 08:33:15.999380"], ["updated_at", "2015-03-27 08:33:15.999380"], ["id", 59694024]]
  SQL (0.3ms)  UPDATE "photos" SET "tempfile" = $1, "width" = $2, "height" = $3, "resolution" = $4, "filetype" = $5, "tempthumb" = $6, "user_id" = $7, "originalname" = $8, "id" = $9, "created_at" = $10, "updated_at" = $11 WHERE "photos"."id" = $12  [["tempfile", "istockseller-49055024-wallhaven-164660.jpg"], ["width", 4636], ["height", 3076], ["resolution", 72], ["filetype", "jpg"], ["tempthumb", "istockseller-thumb-59694024-wallhaven-164660.jpg"], ["user_id", 1], ["originalname", "wallhaven-164660.jpg"], ["id", 59694024], ["created_at", "2015-03-27 08:33:15.999380"], ["updated_at", "2015-03-27 08:33:15.999380"], ["id", 59694024]]
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/postgresql/utils.rb:67: [BUG] Segmentation fault at 0x007f2a1cf61008
ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux]

-- Control frame information -----------------------------------------------
c:3675 p:---- s:15040 e:005039 CFUNC  :scan
c:3674 p:0010 s:15036 e:005035 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/postgresql/utils.rb:67
c:3673 p:0017 s:15030 e:005029 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/postgresql/quoting.rb:31
c:3672 p:0037 s:15026 e:005025 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/to_sql.rb:770
c:3671 p:0031 s:15022 e:005020 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/to_sql.rb:705
c:3670 p:0020 s:15015 e:005014 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/reduce.rb:13
c:3669 p:0021 s:15008 e:005007 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/to_sql.rb:669
c:3668 p:0020 s:15002 e:005001 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/reduce.rb:13
c:3667 p:0030 s:14995 e:004994 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/to_sql.rb:788 [FINISH]
c:3666 p:---- s:14989 e:004988 IFUNC 
c:3665 p:---- s:14987 e:004986 IFUNC 
c:3664 p:---- s:14985 e:004984 CFUNC  :each
c:3663 p:---- s:14983 e:004982 CFUNC  :each_with_index
c:3662 p:---- s:14981 e:004980 CFUNC  :each
c:3661 p:---- s:14979 e:004978 CFUNC  :inject
c:3660 p:0023 s:14975 e:004974 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/to_sql.rb:786
c:3659 p:0015 s:14968 e:004967 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/to_sql.rb:644
c:3658 p:0020 s:14963 e:004962 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/reduce.rb:13
c:3657 p:0030 s:14956 e:004955 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/to_sql.rb:788 [FINISH]
c:3656 p:---- s:14950 e:004949 IFUNC 
c:3655 p:---- s:14948 e:004947 IFUNC 
c:3654 p:---- s:14946 e:004945 CFUNC  :each
c:3653 p:---- s:14944 e:004943 CFUNC  :each_with_index
c:3652 p:---- s:14942 e:004941 CFUNC  :each
c:3651 p:---- s:14940 e:004939 CFUNC  :inject
c:3650 p:0023 s:14936 e:004935 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/to_sql.rb:786
c:3649 p:0146 s:14929 e:004928 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/to_sql.rb:115
c:3648 p:0020 s:14923 e:004922 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/reduce.rb:13
c:3647 p:0011 s:14916 e:004915 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/reduce.rb:7
c:3646 p:0030 s:14911 e:004910 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:3645 p:0019 s:14905 e:004903 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:3644 p:0021 s:14898 e:004897 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/query_cache.rb:14
c:3643 p:0113 s:14894 e:004893 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/relation.rb:88
c:3642 p:0046 s:14882 e:004881 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:513
c:3641 p:0022 s:14877 e:004876 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/locking/optimistic.rb:79
c:3640 p:0016 s:14869 e:004868 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:127
c:3639 p:0010 s:14865 e:004864 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:310 [FINISH]
c:3638 p:---- s:14863 e:004862 CFUNC  :call
c:3637 p:0036 s:14860 e:004858 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:117
c:3636 p:0017 s:14854 e:004853 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:555 [FINISH]
c:3635 p:---- s:14851 e:004850 CFUNC  :call
c:3634 p:0021 s:14847 e:004846 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:505
c:3633 p:0062 s:14842 e:004841 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:3632 p:0012 s:14835 e:004834 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:3631 p:0007 s:14831 E:0003e8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:310
c:3630 p:0032 s:14827 e:004826 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/timestamp.rb:70
c:3629 p:0043 s:14822 e:004821 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:502
c:3628 p:0008 s:14818 e:004817 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302 [FINISH]
c:3627 p:---- s:14816 e:004815 CFUNC  :call
c:3626 p:0036 s:14813 e:004811 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:117
c:3625 p:0017 s:14807 e:004806 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:555 [FINISH]
c:3624 p:---- s:14804 e:004803 CFUNC  :call
c:3623 p:0021 s:14800 e:004799 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:505
c:3622 p:0062 s:14795 e:004794 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:3621 p:0012 s:14788 e:004787 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:3620 p:0007 s:14784 E:0019e0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:3619 p:0007 s:14781 e:004780 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:3618 p:0021 s:14777 e:004776 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:3617 p:0010 s:14773 e:004772 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:3616 p:0010 s:14769 e:004768 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3615 p:0014 s:14767 e:004766 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:3614 p:0069 s:14765 e:004764 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:3613 p:0017 s:14761 e:004760 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:3612 p:0014 s:14756 E:0016f8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:3611 p:0007 s:14752 E:001368 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3610 p:0016 s:14748 e:004747 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:3609 p:0012 s:14745 e:004744 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:3608 p:---- s:14740 e:004739 CFUNC  :call
c:3607 p:0050 s:14735 e:004734 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:3606 p:---- s:14729 e:004728 CFUNC  :call
c:3605 p:0012 s:14725 e:004724 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:3604 p:---- s:14722 e:004721 CFUNC  :each
c:3603 p:0030 s:14719 e:004718 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:3602 p:0062 s:14714 e:004713 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:3601 p:0012 s:14707 e:004706 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:3600 p:0007 s:14703 E:000f50 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:3599 p:0007 s:14700 e:004699 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:3598 p:0021 s:14696 e:004695 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:3597 p:0010 s:14692 e:004691 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:3596 p:0010 s:14688 e:004687 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3595 p:0014 s:14686 e:004685 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:3594 p:0069 s:14684 e:004683 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:3593 p:0017 s:14680 e:004679 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:3592 p:0014 s:14675 E:000ac8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:3591 p:0007 s:14671 E:0008d8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3590 p:0016 s:14667 e:004666 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:3589 p:0012 s:14664 e:004663 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:3588 p:---- s:14659 e:004658 CFUNC  :call
c:3587 p:0050 s:14654 e:004653 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:3586 p:---- s:14648 e:004647 CFUNC  :call
c:3585 p:0012 s:14644 e:004643 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:3584 p:---- s:14641 e:004640 CFUNC  :each
c:3583 p:0030 s:14638 e:004637 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:3582 p:0062 s:14633 e:004632 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:3581 p:0012 s:14626 e:004625 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:3580 p:0007 s:14622 E:000320 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:3579 p:0007 s:14619 e:004618 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:3578 p:0021 s:14615 e:004614 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:3577 p:0010 s:14611 e:004610 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:3576 p:0010 s:14607 e:004606 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3575 p:0014 s:14605 e:004604 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:3574 p:0069 s:14603 e:004602 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:3573 p:0017 s:14599 e:004598 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:3572 p:0014 s:14594 E:000038 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:3571 p:0007 s:14590 E:0023b8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3570 p:0016 s:14586 e:004585 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:3569 p:0012 s:14583 e:004582 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:3568 p:---- s:14578 e:004577 CFUNC  :call
c:3567 p:0050 s:14573 e:004572 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:3566 p:---- s:14567 e:004566 CFUNC  :call
c:3565 p:0012 s:14563 e:004562 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:3564 p:---- s:14560 e:004559 CFUNC  :each
c:3563 p:0030 s:14557 e:004556 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:3562 p:0062 s:14552 e:004551 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:3561 p:0012 s:14545 e:004544 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:3560 p:0007 s:14541 E:001fa0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:3559 p:0007 s:14538 e:004537 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:3558 p:0021 s:14534 e:004533 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:3557 p:0010 s:14530 e:004529 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:3556 p:0010 s:14526 e:004525 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3555 p:0014 s:14524 e:004523 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:3554 p:0069 s:14522 e:004521 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:3553 p:0017 s:14518 e:004517 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:3552 p:0014 s:14513 E:001b18 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:3551 p:0007 s:14509 E:001928 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3550 p:0016 s:14505 e:004504 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:3549 p:0012 s:14502 e:004501 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:3548 p:---- s:14497 e:004496 CFUNC  :call
c:3547 p:0050 s:14492 e:004491 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:3546 p:---- s:14486 e:004485 CFUNC  :call
c:3545 p:0012 s:14482 e:004481 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:3544 p:---- s:14479 e:004478 CFUNC  :each
c:3543 p:0030 s:14476 e:004475 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:3542 p:0062 s:14471 e:004470 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:3541 p:0012 s:14464 e:004463 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:3540 p:0007 s:14460 E:001370 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:3539 p:0007 s:14457 e:004456 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:3538 p:0021 s:14453 e:004452 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:3537 p:0010 s:14449 e:004448 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:3536 p:0010 s:14445 e:004444 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3535 p:0014 s:14443 e:004442 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:3534 p:0069 s:14441 e:004440 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:3533 p:0017 s:14437 e:004436 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:3532 p:0014 s:14432 E:001088 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:3531 p:0007 s:14428 E:000cf8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3530 p:0016 s:14424 e:004423 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:3529 p:0012 s:14421 e:004420 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:3528 p:---- s:14416 e:004415 CFUNC  :call
c:3527 p:0050 s:14411 e:004410 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:3526 p:---- s:14405 e:004404 CFUNC  :call
c:3525 p:0012 s:14401 e:004400 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:3524 p:---- s:14398 e:004397 CFUNC  :each
c:3523 p:0030 s:14395 e:004394 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:3522 p:0062 s:14390 e:004389 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:3521 p:0012 s:14383 e:004382 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:3520 p:0007 s:14379 E:0008e0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:3519 p:0007 s:14376 e:004375 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:3518 p:0021 s:14372 e:004371 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:3517 p:0010 s:14368 e:004367 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:3516 p:0010 s:14364 e:004363 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3515 p:0014 s:14362 e:004361 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:3514 p:0069 s:14360 e:004359 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:3513 p:0017 s:14356 e:004355 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:3512 p:0014 s:14351 E:000458 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:3511 p:0007 s:14347 E:000268 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3510 p:0016 s:14343 e:004342 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:3509 p:0012 s:14340 e:004339 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:3508 p:---- s:14335 e:004334 CFUNC  :call
c:3507 p:0050 s:14330 e:004329 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:3506 p:---- s:14324 e:004323 CFUNC  :call
c:3505 p:0012 s:14320 e:004319 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:3504 p:---- s:14317 e:004316 CFUNC  :each
c:3503 p:0030 s:14314 e:004313 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:3502 p:0062 s:14309 e:004308 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:3501 p:0012 s:14302 e:004301 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:3500 p:0007 s:14298 E:0023c0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:3499 p:0007 s:14295 e:004294 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:3498 p:0021 s:14291 e:004290 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:3497 p:0010 s:14287 e:004286 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:3496 p:0010 s:14283 e:004282 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3495 p:0014 s:14281 e:004280 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:3494 p:0069 s:14279 e:004278 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:3493 p:0017 s:14275 e:004274 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:3492 p:0014 s:14270 E:0020d8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:3491 p:0007 s:14266 E:001d48 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3490 p:0016 s:14262 e:004261 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:3489 p:0012 s:14259 e:004258 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:3488 p:---- s:14254 e:004253 CFUNC  :call
c:3487 p:0050 s:14249 e:004248 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:3486 p:---- s:14243 e:004242 CFUNC  :call
c:3485 p:0012 s:14239 e:004238 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:3484 p:---- s:14236 e:004235 CFUNC  :each
c:3483 p:0030 s:14233 e:004232 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:3482 p:0062 s:14228 e:004227 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:3481 p:0012 s:14221 e:004220 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:3480 p:0007 s:14217 E:001930 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:3479 p:0007 s:14214 e:004213 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:3478 p:0021 s:14210 e:004209 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:3477 p:0010 s:14206 e:004205 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:3476 p:0010 s:14202 e:004201 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3475 p:0014 s:14200 e:004199 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:3474 p:0069 s:14198 e:004197 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:3473 p:0017 s:14194 e:004193 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:3472 p:0014 s:14189 E:0014a8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:3471 p:0007 s:14185 E:0012b8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3470 p:0016 s:14181 e:004180 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:3469 p:0012 s:14178 e:004177 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:3468 p:---- s:14173 e:004172 CFUNC  :call
c:3467 p:0050 s:14168 e:004167 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:3466 p:---- s:14162 e:004161 CFUNC  :call
c:3465 p:0012 s:14158 e:004157 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:3464 p:---- s:14155 e:004154 CFUNC  :each
c:3463 p:0030 s:14152 e:004151 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:3462 p:0062 s:14147 e:004146 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:3461 p:0012 s:14140 e:004139 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:3460 p:0007 s:14136 E:000d00 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:3459 p:0007 s:14133 e:004132 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:3458 p:0021 s:14129 e:004128 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:3457 p:0010 s:14125 e:004124 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:3456 p:0010 s:14121 e:004120 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3455 p:0014 s:14119 e:004118 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:3454 p:0069 s:14117 e:004116 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:3453 p:0017 s:14113 e:004112 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:3452 p:0014 s:14108 E:000a18 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:3451 p:0007 s:14104 E:000688 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3450 p:0016 s:14100 e:004099 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:3449 p:0012 s:14097 e:004096 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:3448 p:---- s:14092 e:004091 CFUNC  :call
c:3447 p:0050 s:14087 e:004086 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:3446 p:---- s:14081 e:004080 CFUNC  :call
c:3445 p:0012 s:14077 e:004076 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:3444 p:---- s:14074 e:004073 CFUNC  :each
c:3443 p:0030 s:14071 e:004070 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:3442 p:0062 s:14066 e:004065 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:3441 p:0012 s:14059 e:004058 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:3440 p:0007 s:14055 E:000270 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:3439 p:0007 s:14052 e:004051 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:3438 p:0021 s:14048 e:004047 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:3437 p:0010 s:14044 e:004043 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:3436 p:0010 s:14040 e:004039 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3435 p:0014 s:14038 e:004037 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:3434 p:0069 s:14036 e:004035 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:3433 p:0017 s:14032 e:004031 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:3432 p:0014 s:14027 E:0024f8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:3431 p:0007 s:14023 E:002308 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3430 p:0016 s:14019 e:004018 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:3429 p:0012 s:14016 e:004015 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:3428 p:---- s:14011 e:004010 CFUNC  :call
c:3427 p:0050 s:14006 e:004005 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:3426 p:---- s:14000 e:003999 CFUNC  :call
c:3425 p:0012 s:13996 e:003995 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:3424 p:---- s:13993 e:003992 CFUNC  :each
c:3423 p:0030 s:13990 e:003989 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:3422 p:0062 s:13985 e:003984 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:3421 p:0012 s:13978 e:003977 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:3420 p:0007 s:13974 E:001d50 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:3419 p:0007 s:13971 e:003970 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:3418 p:0021 s:13967 e:003966 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:3417 p:0010 s:13963 e:003962 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:3416 p:0010 s:13959 e:003958 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3415 p:0014 s:13957 e:003956 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:3414 p:0069 s:13955 e:003954 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:3413 p:0017 s:13951 e:003950 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:3412 p:0014 s:13946 E:001a68 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:3411 p:0007 s:13942 E:0016d8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3410 p:0016 s:13938 e:003937 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:3409 p:0012 s:13935 e:003934 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:3408 p:---- s:13930 e:003929 CFUNC  :call
c:3407 p:0050 s:13925 e:003924 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:3406 p:---- s:13919 e:003918 CFUNC  :call
c:3405 p:0012 s:13915 e:003914 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:3404 p:---- s:13912 e:003911 CFUNC  :each
c:3403 p:0030 s:13909 e:003908 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:3402 p:0062 s:13904 e:003903 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:3401 p:0012 s:13897 e:003896 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:3400 p:0007 s:13893 E:0012c0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:3399 p:0007 s:13890 e:003889 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:3398 p:0021 s:13886 e:003885 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:3397 p:0010 s:13882 e:003881 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:3396 p:0010 s:13878 e:003877 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3395 p:0014 s:13876 e:003875 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:3394 p:0069 s:13874 e:003873 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:3393 p:0017 s:13870 e:003869 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:3392 p:0014 s:13865 E:000e38 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:3391 p:0007 s:13861 E:000c48 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3390 p:0016 s:13857 e:003856 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:3389 p:0012 s:13854 e:003853 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:3388 p:---- s:13849 e:003848 CFUNC  :call
c:3387 p:0050 s:13844 e:003843 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:3386 p:---- s:13838 e:003837 CFUNC  :call
c:3385 p:0012 s:13834 e:003833 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:3384 p:---- s:13831 e:003830 CFUNC  :each
c:3383 p:0030 s:13828 e:003827 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:3382 p:0062 s:13823 e:003822 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:3381 p:0012 s:13816 e:003815 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:3380 p:0007 s:13812 E:000690 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:3379 p:0007 s:13809 e:003808 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:3378 p:0021 s:13805 e:003804 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:3377 p:0010 s:13801 e:003800 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:3376 p:0010 s:13797 e:003796 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3375 p:0014 s:13795 e:003794 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:3374 p:0069 s:13793 e:003792 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:3373 p:0017 s:13789 e:003788 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:3372 p:0014 s:13784 E:0003a8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:3371 p:0007 s:13780 E:000018 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3370 p:0016 s:13776 e:003775 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:3369 p:0012 s:13773 e:003772 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:3368 p:---- s:13768 e:003767 CFUNC  :call
c:3367 p:0050 s:13763 e:003762 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:3366 p:---- s:13757 e:003756 CFUNC  :call
c:3365 p:0012 s:13753 e:003752 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:3364 p:---- s:13750 e:003749 CFUNC  :each
c:3363 p:0030 s:13747 e:003746 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:3362 p:0062 s:13742 e:003741 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:3361 p:0012 s:13735 e:003734 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:3360 p:0007 s:13731 E:002310 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:3359 p:0007 s:13728 e:003727 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:3358 p:0021 s:13724 e:003723 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:3357 p:0010 s:13720 e:003719 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:3356 p:0010 s:13716 e:003715 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3355 p:0014 s:13714 e:003713 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:3354 p:0069 s:13712 e:003711 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:3353 p:0017 s:13708 e:003707 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:3352 p:0014 s:13703 E:001e88 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:3351 p:0007 s:13699 E:001c98 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3350 p:0016 s:13695 e:003694 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:3349 p:0012 s:13692 e:003691 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:3348 p:---- s:13687 e:003686 CFUNC  :call
c:3347 p:0050 s:13682 e:003681 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:3346 p:---- s:13676 e:003675 CFUNC  :call
c:3345 p:0012 s:13672 e:003671 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:3344 p:---- s:13669 e:003668 CFUNC  :each
c:3343 p:0030 s:13666 e:003665 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:3342 p:0062 s:13661 e:003660 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:3341 p:0012 s:13654 e:003653 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:3340 p:0007 s:13650 E:0016e0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:3339 p:0007 s:13647 e:003646 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:3338 p:0021 s:13643 e:003642 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:3337 p:0010 s:13639 e:003638 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:3336 p:0010 s:13635 e:003634 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3335 p:0014 s:13633 e:003632 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:3334 p:0069 s:13631 e:003630 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:3333 p:0017 s:13627 e:003626 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:3332 p:0014 s:13622 E:0013f8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:3331 p:0007 s:13618 E:001068 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3330 p:0016 s:13614 e:003613 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:3329 p:0012 s:13611 e:003610 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:3328 p:---- s:13606 e:003605 CFUNC  :call
c:3327 p:0050 s:13601 e:003600 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:3326 p:---- s:13595 e:003594 CFUNC  :call
c:3325 p:0012 s:13591 e:003590 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:3324 p:---- s:13588 e:003587 CFUNC  :each
c:3323 p:0030 s:13585 e:003584 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:3322 p:0062 s:13580 e:003579 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:3321 p:0012 s:13573 e:003572 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:3320 p:0007 s:13569 E:000c50 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:3319 p:0007 s:13566 e:003565 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:3318 p:0021 s:13562 e:003561 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:3317 p:0010 s:13558 e:003557 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:3316 p:0010 s:13554 e:003553 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3315 p:0014 s:13552 e:003551 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:3314 p:0069 s:13550 e:003549 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:3313 p:0017 s:13546 e:003545 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:3312 p:0014 s:13541 E:0007c8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:3311 p:0007 s:13537 E:0005d8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3310 p:0016 s:13533 e:003532 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:3309 p:0012 s:13530 e:003529 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:3308 p:---- s:13525 e:003524 CFUNC  :call
c:3307 p:0050 s:13520 e:003519 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:3306 p:---- s:13514 e:003513 CFUNC  :call
c:3305 p:0012 s:13510 e:003509 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:3304 p:---- s:13507 e:003506 CFUNC  :each
c:3303 p:0030 s:13504 e:003503 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:3302 p:0062 s:13499 e:003498 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:3301 p:0012 s:13492 e:003491 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:3300 p:0007 s:13488 E:000020 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:3299 p:0007 s:13485 e:003484 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:3298 p:0021 s:13481 e:003480 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:3297 p:0010 s:13477 e:003476 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:3296 p:0010 s:13473 e:003472 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3295 p:0014 s:13471 e:003470 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:3294 p:0069 s:13469 e:003468 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:3293 p:0017 s:13465 e:003464 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:3292 p:0014 s:13460 E:002448 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:3291 p:0007 s:13456 E:0020b8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3290 p:0016 s:13452 e:003451 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:3289 p:0012 s:13449 e:003448 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:3288 p:---- s:13444 e:003443 CFUNC  :call
c:3287 p:0050 s:13439 e:003438 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:3286 p:---- s:13433 e:003432 CFUNC  :call
c:3285 p:0012 s:13429 e:003428 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:3284 p:---- s:13426 e:003425 CFUNC  :each
c:3283 p:0030 s:13423 e:003422 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:3282 p:0062 s:13418 e:003417 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:3281 p:0012 s:13411 e:003410 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:3280 p:0007 s:13407 E:001ca0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:3279 p:0007 s:13404 e:003403 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:3278 p:0021 s:13400 e:003399 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:3277 p:0010 s:13396 e:003395 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:3276 p:0010 s:13392 e:003391 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3275 p:0014 s:13390 e:003389 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:3274 p:0069 s:13388 e:003387 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:3273 p:0017 s:13384 e:003383 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:3272 p:0014 s:13379 E:001818 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:3271 p:0007 s:13375 E:001628 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3270 p:0016 s:13371 e:003370 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:3269 p:0012 s:13368 e:003367 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:3268 p:---- s:13363 e:003362 CFUNC  :call
c:3267 p:0050 s:13358 e:003357 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:3266 p:---- s:13352 e:003351 CFUNC  :call
c:3265 p:0012 s:13348 e:003347 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:3264 p:---- s:13345 e:003344 CFUNC  :each
c:3263 p:0030 s:13342 e:003341 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:3262 p:0062 s:13337 e:003336 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:3261 p:0012 s:13330 e:003329 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:3260 p:0007 s:13326 E:001070 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:3259 p:0007 s:13323 e:003322 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:3258 p:0021 s:13319 e:003318 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:3257 p:0010 s:13315 e:003314 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:3256 p:0010 s:13311 e:003310 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3255 p:0014 s:13309 e:003308 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:3254 p:0069 s:13307 e:003306 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:3253 p:0017 s:13303 e:003302 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:3252 p:0014 s:13298 E:000d88 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:3251 p:0007 s:13294 E:0009f8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3250 p:0016 s:13290 e:003289 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:3249 p:0012 s:13287 e:003286 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:3248 p:---- s:13282 e:003281 CFUNC  :call
c:3247 p:0050 s:13277 e:003276 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:3246 p:---- s:13271 e:003270 CFUNC  :call
c:3245 p:0012 s:13267 e:003266 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:3244 p:---- s:13264 e:003263 CFUNC  :each
c:3243 p:0030 s:13261 e:003260 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:3242 p:0062 s:13256 e:003255 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:3241 p:0012 s:13249 e:003248 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:3240 p:0007 s:13245 E:0005e0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:3239 p:0007 s:13242 e:003241 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:3238 p:0021 s:13238 e:003237 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:3237 p:0010 s:13234 e:003233 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:3236 p:0010 s:13230 e:003229 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3235 p:0014 s:13228 e:003227 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:3234 p:0069 s:13226 e:003225 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:3233 p:0017 s:13222 e:003221 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:3232 p:0014 s:13217 E:000158 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:3231 p:0007 s:13213 E:002678 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3230 p:0016 s:13209 e:003208 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:3229 p:0012 s:13206 e:003205 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:3228 p:---- s:13201 e:003200 CFUNC  :call
c:3227 p:0050 s:13196 e:003195 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:3226 p:---- s:13190 e:003189 CFUNC  :call
c:3225 p:0012 s:13186 e:003185 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:3224 p:---- s:13183 e:003182 CFUNC  :each
c:3223 p:0030 s:13180 e:003179 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:3222 p:0062 s:13175 e:003174 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:3221 p:0012 s:13168 e:003167 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:3220 p:0007 s:13164 E:0020c0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:3219 p:0007 s:13161 e:003160 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:3218 p:0021 s:13157 e:003156 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:3217 p:0010 s:13153 e:003152 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:3216 p:0010 s:13149 e:003148 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3215 p:0014 s:13147 e:003146 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:3214 p:0069 s:13145 e:003144 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:3213 p:0017 s:13141 e:003140 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:3212 p:0014 s:13136 E:001dd8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:3211 p:0007 s:13132 E:001a48 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3210 p:0016 s:13128 e:003127 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:3209 p:0012 s:13125 e:003124 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:3208 p:---- s:13120 e:003119 CFUNC  :call
c:3207 p:0050 s:13115 e:003114 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:3206 p:---- s:13109 e:003108 CFUNC  :call
c:3205 p:0012 s:13105 e:003104 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:3204 p:---- s:13102 e:003101 CFUNC  :each
c:3203 p:0030 s:13099 e:003098 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:3202 p:0062 s:13094 e:003093 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:3201 p:0012 s:13087 e:003086 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:3200 p:0007 s:13083 E:001630 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:3199 p:0007 s:13080 e:003079 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:3198 p:0021 s:13076 e:003075 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:3197 p:0010 s:13072 e:003071 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:3196 p:0010 s:13068 e:003067 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3195 p:0014 s:13066 e:003065 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:3194 p:0069 s:13064 e:003063 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:3193 p:0017 s:13060 e:003059 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:3192 p:0014 s:13055 E:0011a8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:3191 p:0007 s:13051 E:000fb8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3190 p:0016 s:13047 e:003046 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:3189 p:0012 s:13044 e:003043 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:3188 p:---- s:13039 e:003038 CFUNC  :call
c:3187 p:0050 s:13034 e:003033 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:3186 p:---- s:13028 e:003027 CFUNC  :call
c:3185 p:0012 s:13024 e:003023 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:3184 p:---- s:13021 e:003020 CFUNC  :each
c:3183 p:0030 s:13018 e:003017 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:3182 p:0062 s:13013 e:003012 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:3181 p:0012 s:13006 e:003005 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:3180 p:0007 s:13002 E:000a00 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:3179 p:0007 s:12999 e:002998 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:3178 p:0021 s:12995 e:002994 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:3177 p:0010 s:12991 e:002990 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:3176 p:0010 s:12987 e:002986 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3175 p:0014 s:12985 e:002984 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:3174 p:0069 s:12983 e:002982 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:3173 p:0017 s:12979 e:002978 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:3172 p:0014 s:12974 E:000718 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:3171 p:0007 s:12970 E:000388 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3170 p:0016 s:12966 e:002965 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:3169 p:0012 s:12963 e:002962 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:3168 p:---- s:12958 e:002957 CFUNC  :call
c:3167 p:0050 s:12953 e:002952 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:3166 p:---- s:12947 e:002946 CFUNC  :call
c:3165 p:0012 s:12943 e:002942 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:3164 p:---- s:12940 e:002939 CFUNC  :each
c:3163 p:0030 s:12937 e:002936 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:3162 p:0062 s:12932 e:002931 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:3161 p:0012 s:12925 e:002924 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:3160 p:0007 s:12921 E:002680 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:3159 p:0007 s:12918 e:002917 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:3158 p:0021 s:12914 e:002913 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:3157 p:0010 s:12910 e:002909 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:3156 p:0010 s:12906 e:002905 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3155 p:0014 s:12904 e:002903 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:3154 p:0069 s:12902 e:002901 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:3153 p:0017 s:12898 e:002897 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:3152 p:0014 s:12893 E:0021f8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:3151 p:0007 s:12889 E:002008 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3150 p:0016 s:12885 e:002884 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:3149 p:0012 s:12882 e:002881 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:3148 p:---- s:12877 e:002876 CFUNC  :call
c:3147 p:0050 s:12872 e:002871 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:3146 p:---- s:12866 e:002865 CFUNC  :call
c:3145 p:0012 s:12862 e:002861 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:3144 p:---- s:12859 e:002858 CFUNC  :each
c:3143 p:0030 s:12856 e:002855 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:3142 p:0062 s:12851 e:002850 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:3141 p:0012 s:12844 e:002843 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:3140 p:0007 s:12840 E:001a50 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:3139 p:0007 s:12837 e:002836 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:3138 p:0021 s:12833 e:002832 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:3137 p:0010 s:12829 e:002828 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:3136 p:0010 s:12825 e:002824 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3135 p:0014 s:12823 e:002822 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:3134 p:0069 s:12821 e:002820 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:3133 p:0017 s:12817 e:002816 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:3132 p:0014 s:12812 E:001768 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:3131 p:0007 s:12808 E:0013d8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3130 p:0016 s:12804 e:002803 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:3129 p:0012 s:12801 e:002800 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:3128 p:---- s:12796 e:002795 CFUNC  :call
c:3127 p:0050 s:12791 e:002790 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:3126 p:---- s:12785 e:002784 CFUNC  :call
c:3125 p:0012 s:12781 e:002780 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:3124 p:---- s:12778 e:002777 CFUNC  :each
c:3123 p:0030 s:12775 e:002774 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:3122 p:0062 s:12770 e:002769 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:3121 p:0012 s:12763 e:002762 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:3120 p:0007 s:12759 E:000fc0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:3119 p:0007 s:12756 e:002755 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:3118 p:0021 s:12752 e:002751 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:3117 p:0010 s:12748 e:002747 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:3116 p:0010 s:12744 e:002743 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3115 p:0014 s:12742 e:002741 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:3114 p:0069 s:12740 e:002739 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:3113 p:0017 s:12736 e:002735 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:3112 p:0014 s:12731 E:000b38 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:3111 p:0007 s:12727 E:000948 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3110 p:0016 s:12723 e:002722 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:3109 p:0012 s:12720 e:002719 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:3108 p:---- s:12715 e:002714 CFUNC  :call
c:3107 p:0050 s:12710 e:002709 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:3106 p:---- s:12704 e:002703 CFUNC  :call
c:3105 p:0012 s:12700 e:002699 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:3104 p:---- s:12697 e:002696 CFUNC  :each
c:3103 p:0030 s:12694 e:002693 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:3102 p:0062 s:12689 e:002688 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:3101 p:0012 s:12682 e:002681 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:3100 p:0007 s:12678 E:000390 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:3099 p:0007 s:12675 e:002674 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:3098 p:0021 s:12671 e:002670 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:3097 p:0010 s:12667 e:002666 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:3096 p:0010 s:12663 e:002662 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3095 p:0014 s:12661 e:002660 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:3094 p:0069 s:12659 e:002658 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:3093 p:0017 s:12655 e:002654 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:3092 p:0014 s:12650 E:0000a8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:3091 p:0007 s:12646 E:002428 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3090 p:0016 s:12642 e:002641 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:3089 p:0012 s:12639 e:002638 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:3088 p:---- s:12634 e:002633 CFUNC  :call
c:3087 p:0050 s:12629 e:002628 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:3086 p:---- s:12623 e:002622 CFUNC  :call
c:3085 p:0012 s:12619 e:002618 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:3084 p:---- s:12616 e:002615 CFUNC  :each
c:3083 p:0030 s:12613 e:002612 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:3082 p:0062 s:12608 e:002607 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:3081 p:0012 s:12601 e:002600 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:3080 p:0007 s:12597 E:002010 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:3079 p:0007 s:12594 e:002593 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:3078 p:0021 s:12590 e:002589 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:3077 p:0010 s:12586 e:002585 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:3076 p:0010 s:12582 e:002581 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3075 p:0014 s:12580 e:002579 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:3074 p:0069 s:12578 e:002577 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:3073 p:0017 s:12574 e:002573 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:3072 p:0014 s:12569 E:001b88 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:3071 p:0007 s:12565 E:001998 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3070 p:0016 s:12561 e:002560 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:3069 p:0012 s:12558 e:002557 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:3068 p:---- s:12553 e:002552 CFUNC  :call
c:3067 p:0050 s:12548 e:002547 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:3066 p:---- s:12542 e:002541 CFUNC  :call
c:3065 p:0012 s:12538 e:002537 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:3064 p:---- s:12535 e:002534 CFUNC  :each
c:3063 p:0030 s:12532 e:002531 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:3062 p:0062 s:12527 e:002526 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:3061 p:0012 s:12520 e:002519 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:3060 p:0007 s:12516 E:0013e0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:3059 p:0007 s:12513 e:002512 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:3058 p:0021 s:12509 e:002508 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:3057 p:0010 s:12505 e:002504 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:3056 p:0010 s:12501 e:002500 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3055 p:0014 s:12499 e:002498 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:3054 p:0069 s:12497 e:002496 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:3053 p:0017 s:12493 e:002492 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:3052 p:0014 s:12488 E:0010f8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:3051 p:0007 s:12484 E:000d68 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3050 p:0016 s:12480 e:002479 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:3049 p:0012 s:12477 e:002476 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:3048 p:---- s:12472 e:002471 CFUNC  :call
c:3047 p:0050 s:12467 e:002466 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:3046 p:---- s:12461 e:002460 CFUNC  :call
c:3045 p:0012 s:12457 e:002456 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:3044 p:---- s:12454 e:002453 CFUNC  :each
c:3043 p:0030 s:12451 e:002450 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:3042 p:0062 s:12446 e:002445 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:3041 p:0012 s:12439 e:002438 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:3040 p:0007 s:12435 E:000950 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:3039 p:0007 s:12432 e:002431 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:3038 p:0021 s:12428 e:002427 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:3037 p:0010 s:12424 e:002423 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:3036 p:0010 s:12420 e:002419 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3035 p:0014 s:12418 e:002417 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:3034 p:0069 s:12416 e:002415 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:3033 p:0017 s:12412 e:002411 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:3032 p:0014 s:12407 E:0004c8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:3031 p:0007 s:12403 E:0002d8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3030 p:0016 s:12399 e:002398 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:3029 p:0012 s:12396 e:002395 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:3028 p:---- s:12391 e:002390 CFUNC  :call
c:3027 p:0050 s:12386 e:002385 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:3026 p:---- s:12380 e:002379 CFUNC  :call
c:3025 p:0012 s:12376 e:002375 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:3024 p:---- s:12373 e:002372 CFUNC  :each
c:3023 p:0030 s:12370 e:002369 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:3022 p:0062 s:12365 e:002364 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:3021 p:0012 s:12358 e:002357 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:3020 p:0007 s:12354 E:002430 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:3019 p:0007 s:12351 e:002350 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:3018 p:0021 s:12347 e:002346 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:3017 p:0010 s:12343 e:002342 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:3016 p:0010 s:12339 e:002338 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3015 p:0014 s:12337 e:002336 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:3014 p:0069 s:12335 e:002334 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:3013 p:0017 s:12331 e:002330 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:3012 p:0014 s:12326 E:002148 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:3011 p:0007 s:12322 E:001db8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:3010 p:0016 s:12318 e:002317 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:3009 p:0012 s:12315 e:002314 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:3008 p:---- s:12310 e:002309 CFUNC  :call
c:3007 p:0050 s:12305 e:002304 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:3006 p:---- s:12299 e:002298 CFUNC  :call
c:3005 p:0012 s:12295 e:002294 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:3004 p:---- s:12292 e:002291 CFUNC  :each
c:3003 p:0030 s:12289 e:002288 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:3002 p:0062 s:12284 e:002283 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:3001 p:0012 s:12277 e:002276 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:3000 p:0007 s:12273 E:0019a0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2999 p:0007 s:12270 e:002269 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2998 p:0021 s:12266 e:002265 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2997 p:0010 s:12262 e:002261 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2996 p:0010 s:12258 e:002257 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2995 p:0014 s:12256 e:002255 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2994 p:0069 s:12254 e:002253 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2993 p:0017 s:12250 e:002249 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2992 p:0014 s:12245 E:001518 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2991 p:0007 s:12241 E:001328 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2990 p:0016 s:12237 e:002236 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2989 p:0012 s:12234 e:002233 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2988 p:---- s:12229 e:002228 CFUNC  :call
c:2987 p:0050 s:12224 e:002223 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2986 p:---- s:12218 e:002217 CFUNC  :call
c:2985 p:0012 s:12214 e:002213 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2984 p:---- s:12211 e:002210 CFUNC  :each
c:2983 p:0030 s:12208 e:002207 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2982 p:0062 s:12203 e:002202 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2981 p:0012 s:12196 e:002195 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2980 p:0007 s:12192 E:000d70 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2979 p:0007 s:12189 e:002188 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2978 p:0021 s:12185 e:002184 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2977 p:0010 s:12181 e:002180 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2976 p:0010 s:12177 e:002176 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2975 p:0014 s:12175 e:002174 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2974 p:0069 s:12173 e:002172 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2973 p:0017 s:12169 e:002168 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2972 p:0014 s:12164 E:000a88 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2971 p:0007 s:12160 E:0006f8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2970 p:0016 s:12156 e:002155 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2969 p:0012 s:12153 e:002152 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2968 p:---- s:12148 e:002147 CFUNC  :call
c:2967 p:0050 s:12143 e:002142 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2966 p:---- s:12137 e:002136 CFUNC  :call
c:2965 p:0012 s:12133 e:002132 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2964 p:---- s:12130 e:002129 CFUNC  :each
c:2963 p:0030 s:12127 e:002126 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2962 p:0062 s:12122 e:002121 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2961 p:0012 s:12115 e:002114 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2960 p:0007 s:12111 E:0002e0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2959 p:0007 s:12108 e:002107 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2958 p:0021 s:12104 e:002103 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2957 p:0010 s:12100 e:002099 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2956 p:0010 s:12096 e:002095 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2955 p:0014 s:12094 e:002093 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2954 p:0069 s:12092 e:002091 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2953 p:0017 s:12088 e:002087 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2952 p:0014 s:12083 E:002568 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2951 p:0007 s:12079 E:002378 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2950 p:0016 s:12075 e:002074 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2949 p:0012 s:12072 e:002071 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2948 p:---- s:12067 e:002066 CFUNC  :call
c:2947 p:0050 s:12062 e:002061 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2946 p:---- s:12056 e:002055 CFUNC  :call
c:2945 p:0012 s:12052 e:002051 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2944 p:---- s:12049 e:002048 CFUNC  :each
c:2943 p:0030 s:12046 e:002045 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2942 p:0062 s:12041 e:002040 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2941 p:0012 s:12034 e:002033 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2940 p:0007 s:12030 E:001dc0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2939 p:0007 s:12027 e:002026 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2938 p:0021 s:12023 e:002022 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2937 p:0010 s:12019 e:002018 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2936 p:0010 s:12015 e:002014 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2935 p:0014 s:12013 e:002012 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2934 p:0069 s:12011 e:002010 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2933 p:0017 s:12007 e:002006 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2932 p:0014 s:12002 E:001ad8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2931 p:0007 s:11998 E:001748 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2930 p:0016 s:11994 e:001993 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2929 p:0012 s:11991 e:001990 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2928 p:---- s:11986 e:001985 CFUNC  :call
c:2927 p:0050 s:11981 e:001980 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2926 p:---- s:11975 e:001974 CFUNC  :call
c:2925 p:0012 s:11971 e:001970 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2924 p:---- s:11968 e:001967 CFUNC  :each
c:2923 p:0030 s:11965 e:001964 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2922 p:0062 s:11960 e:001959 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2921 p:0012 s:11953 e:001952 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2920 p:0007 s:11949 E:001330 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2919 p:0007 s:11946 e:001945 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2918 p:0021 s:11942 e:001941 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2917 p:0010 s:11938 e:001937 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2916 p:0010 s:11934 e:001933 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2915 p:0014 s:11932 e:001931 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2914 p:0069 s:11930 e:001929 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2913 p:0017 s:11926 e:001925 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2912 p:0014 s:11921 E:000ea8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2911 p:0007 s:11917 E:000cb8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2910 p:0016 s:11913 e:001912 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2909 p:0012 s:11910 e:001909 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2908 p:---- s:11905 e:001904 CFUNC  :call
c:2907 p:0050 s:11900 e:001899 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2906 p:---- s:11894 e:001893 CFUNC  :call
c:2905 p:0012 s:11890 e:001889 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2904 p:---- s:11887 e:001886 CFUNC  :each
c:2903 p:0030 s:11884 e:001883 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2902 p:0062 s:11879 e:001878 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2901 p:0012 s:11872 e:001871 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2900 p:0007 s:11868 E:000700 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2899 p:0007 s:11865 e:001864 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2898 p:0021 s:11861 e:001860 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2897 p:0010 s:11857 e:001856 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2896 p:0010 s:11853 e:001852 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2895 p:0014 s:11851 e:001850 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2894 p:0069 s:11849 e:001848 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2893 p:0017 s:11845 e:001844 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2892 p:0014 s:11840 E:000418 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2891 p:0007 s:11836 E:000088 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2890 p:0016 s:11832 e:001831 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2889 p:0012 s:11829 e:001828 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2888 p:---- s:11824 e:001823 CFUNC  :call
c:2887 p:0050 s:11819 e:001818 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2886 p:---- s:11813 e:001812 CFUNC  :call
c:2885 p:0012 s:11809 e:001808 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2884 p:---- s:11806 e:001805 CFUNC  :each
c:2883 p:0030 s:11803 e:001802 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2882 p:0062 s:11798 e:001797 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2881 p:0012 s:11791 e:001790 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2880 p:0007 s:11787 E:002380 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2879 p:0007 s:11784 e:001783 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2878 p:0021 s:11780 e:001779 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2877 p:0010 s:11776 e:001775 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2876 p:0010 s:11772 e:001771 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2875 p:0014 s:11770 e:001769 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2874 p:0069 s:11768 e:001767 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2873 p:0017 s:11764 e:001763 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2872 p:0014 s:11759 E:001ef8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2871 p:0007 s:11755 E:001d08 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2870 p:0016 s:11751 e:001750 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2869 p:0012 s:11748 e:001747 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2868 p:---- s:11743 e:001742 CFUNC  :call
c:2867 p:0050 s:11738 e:001737 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2866 p:---- s:11732 e:001731 CFUNC  :call
c:2865 p:0012 s:11728 e:001727 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2864 p:---- s:11725 e:001724 CFUNC  :each
c:2863 p:0030 s:11722 e:001721 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2862 p:0062 s:11717 e:001716 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2861 p:0012 s:11710 e:001709 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2860 p:0007 s:11706 E:001750 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2859 p:0007 s:11703 e:001702 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2858 p:0021 s:11699 e:001698 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2857 p:0010 s:11695 e:001694 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2856 p:0010 s:11691 e:001690 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2855 p:0014 s:11689 e:001688 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2854 p:0069 s:11687 e:001686 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2853 p:0017 s:11683 e:001682 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2852 p:0014 s:11678 E:001468 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2851 p:0007 s:11674 E:0010d8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2850 p:0016 s:11670 e:001669 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2849 p:0012 s:11667 e:001666 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2848 p:---- s:11662 e:001661 CFUNC  :call
c:2847 p:0050 s:11657 e:001656 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2846 p:---- s:11651 e:001650 CFUNC  :call
c:2845 p:0012 s:11647 e:001646 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2844 p:---- s:11644 e:001643 CFUNC  :each
c:2843 p:0030 s:11641 e:001640 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2842 p:0062 s:11636 e:001635 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2841 p:0012 s:11629 e:001628 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2840 p:0007 s:11625 E:000cc0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2839 p:0007 s:11622 e:001621 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2838 p:0021 s:11618 e:001617 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2837 p:0010 s:11614 e:001613 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2836 p:0010 s:11610 e:001609 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2835 p:0014 s:11608 e:001607 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2834 p:0069 s:11606 e:001605 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2833 p:0017 s:11602 e:001601 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2832 p:0014 s:11597 E:000838 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2831 p:0007 s:11593 E:000648 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2830 p:0016 s:11589 e:001588 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2829 p:0012 s:11586 e:001585 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2828 p:---- s:11581 e:001580 CFUNC  :call
c:2827 p:0050 s:11576 e:001575 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2826 p:---- s:11570 e:001569 CFUNC  :call
c:2825 p:0012 s:11566 e:001565 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2824 p:---- s:11563 e:001562 CFUNC  :each
c:2823 p:0030 s:11560 e:001559 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2822 p:0062 s:11555 e:001554 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2821 p:0012 s:11548 e:001547 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2820 p:0007 s:11544 E:000090 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2819 p:0007 s:11541 e:001540 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2818 p:0021 s:11537 e:001536 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2817 p:0010 s:11533 e:001532 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2816 p:0010 s:11529 e:001528 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2815 p:0014 s:11527 e:001526 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2814 p:0069 s:11525 e:001524 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2813 p:0017 s:11521 e:001520 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2812 p:0014 s:11516 E:0024b8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2811 p:0007 s:11512 E:002128 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2810 p:0016 s:11508 e:001507 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2809 p:0012 s:11505 e:001504 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2808 p:---- s:11500 e:001499 CFUNC  :call
c:2807 p:0050 s:11495 e:001494 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2806 p:---- s:11489 e:001488 CFUNC  :call
c:2805 p:0012 s:11485 e:001484 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2804 p:---- s:11482 e:001481 CFUNC  :each
c:2803 p:0030 s:11479 e:001478 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2802 p:0062 s:11474 e:001473 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2801 p:0012 s:11467 e:001466 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2800 p:0007 s:11463 E:001d10 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2799 p:0007 s:11460 e:001459 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2798 p:0021 s:11456 e:001455 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2797 p:0010 s:11452 e:001451 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2796 p:0010 s:11448 e:001447 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2795 p:0014 s:11446 e:001445 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2794 p:0069 s:11444 e:001443 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2793 p:0017 s:11440 e:001439 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2792 p:0014 s:11435 E:001888 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2791 p:0007 s:11431 E:001698 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2790 p:0016 s:11427 e:001426 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2789 p:0012 s:11424 e:001423 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2788 p:---- s:11419 e:001418 CFUNC  :call
c:2787 p:0050 s:11414 e:001413 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2786 p:---- s:11408 e:001407 CFUNC  :call
c:2785 p:0012 s:11404 e:001403 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2784 p:---- s:11401 e:001400 CFUNC  :each
c:2783 p:0030 s:11398 e:001397 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2782 p:0062 s:11393 e:001392 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2781 p:0012 s:11386 e:001385 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2780 p:0007 s:11382 E:0010e0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2779 p:0007 s:11379 e:001378 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2778 p:0021 s:11375 e:001374 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2777 p:0010 s:11371 e:001370 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2776 p:0010 s:11367 e:001366 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2775 p:0014 s:11365 e:001364 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2774 p:0069 s:11363 e:001362 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2773 p:0017 s:11359 e:001358 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2772 p:0014 s:11354 E:000df8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2771 p:0007 s:11350 E:000a68 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2770 p:0016 s:11346 e:001345 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2769 p:0012 s:11343 e:001342 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2768 p:---- s:11338 e:001337 CFUNC  :call
c:2767 p:0050 s:11333 e:001332 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2766 p:---- s:11327 e:001326 CFUNC  :call
c:2765 p:0012 s:11323 e:001322 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2764 p:---- s:11320 e:001319 CFUNC  :each
c:2763 p:0030 s:11317 e:001316 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2762 p:0062 s:11312 e:001311 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2761 p:0012 s:11305 e:001304 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2760 p:0007 s:11301 E:000650 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2759 p:0007 s:11298 e:001297 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2758 p:0021 s:11294 e:001293 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2757 p:0010 s:11290 e:001289 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2756 p:0010 s:11286 e:001285 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2755 p:0014 s:11284 e:001283 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2754 p:0069 s:11282 e:001281 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2753 p:0017 s:11278 e:001277 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2752 p:0014 s:11273 E:0001c8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2751 p:0007 s:11269 E:0026e8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2750 p:0016 s:11265 e:001264 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2749 p:0012 s:11262 e:001261 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2748 p:---- s:11257 e:001256 CFUNC  :call
c:2747 p:0050 s:11252 e:001251 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2746 p:---- s:11246 e:001245 CFUNC  :call
c:2745 p:0012 s:11242 e:001241 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2744 p:---- s:11239 e:001238 CFUNC  :each
c:2743 p:0030 s:11236 e:001235 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2742 p:0062 s:11231 e:001230 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2741 p:0012 s:11224 e:001223 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2740 p:0007 s:11220 E:002130 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2739 p:0007 s:11217 e:001216 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2738 p:0021 s:11213 e:001212 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2737 p:0010 s:11209 e:001208 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2736 p:0010 s:11205 e:001204 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2735 p:0014 s:11203 e:001202 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2734 p:0069 s:11201 e:001200 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2733 p:0017 s:11197 e:001196 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2732 p:0014 s:11192 E:001e48 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2731 p:0007 s:11188 E:001ab8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2730 p:0016 s:11184 e:001183 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2729 p:0012 s:11181 e:001180 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2728 p:---- s:11176 e:001175 CFUNC  :call
c:2727 p:0050 s:11171 e:001170 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2726 p:---- s:11165 e:001164 CFUNC  :call
c:2725 p:0012 s:11161 e:001160 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2724 p:---- s:11158 e:001157 CFUNC  :each
c:2723 p:0030 s:11155 e:001154 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2722 p:0062 s:11150 e:001149 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2721 p:0012 s:11143 e:001142 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2720 p:0007 s:11139 E:0016a0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2719 p:0007 s:11136 e:001135 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2718 p:0021 s:11132 e:001131 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2717 p:0010 s:11128 e:001127 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2716 p:0010 s:11124 e:001123 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2715 p:0014 s:11122 e:001121 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2714 p:0069 s:11120 e:001119 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2713 p:0017 s:11116 e:001115 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2712 p:0014 s:11111 E:001218 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2711 p:0007 s:11107 E:001028 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2710 p:0016 s:11103 e:001102 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2709 p:0012 s:11100 e:001099 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2708 p:---- s:11095 e:001094 CFUNC  :call
c:2707 p:0050 s:11090 e:001089 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2706 p:---- s:11084 e:001083 CFUNC  :call
c:2705 p:0012 s:11080 e:001079 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2704 p:---- s:11077 e:001076 CFUNC  :each
c:2703 p:0030 s:11074 e:001073 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2702 p:0062 s:11069 e:001068 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2701 p:0012 s:11062 e:001061 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2700 p:0007 s:11058 E:000a70 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2699 p:0007 s:11055 e:001054 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2698 p:0021 s:11051 e:001050 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2697 p:0010 s:11047 e:001046 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2696 p:0010 s:11043 e:001042 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2695 p:0014 s:11041 e:001040 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2694 p:0069 s:11039 e:001038 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2693 p:0017 s:11035 e:001034 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2692 p:0014 s:11030 E:000788 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2691 p:0007 s:11026 E:0003f8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2690 p:0016 s:11022 e:001021 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2689 p:0012 s:11019 e:001018 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2688 p:---- s:11014 e:001013 CFUNC  :call
c:2687 p:0050 s:11009 e:001008 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2686 p:---- s:11003 e:001002 CFUNC  :call
c:2685 p:0012 s:10999 e:000998 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2684 p:---- s:10996 e:000995 CFUNC  :each
c:2683 p:0030 s:10993 e:000992 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2682 p:0062 s:10988 e:000987 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2681 p:0012 s:10981 e:000980 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2680 p:0007 s:10977 E:0026f0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2679 p:0007 s:10974 e:000973 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2678 p:0021 s:10970 e:000969 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2677 p:0010 s:10966 e:000965 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2676 p:0010 s:10962 e:000961 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2675 p:0014 s:10960 e:000959 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2674 p:0069 s:10958 e:000957 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2673 p:0017 s:10954 e:000953 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2672 p:0014 s:10949 E:002268 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2671 p:0007 s:10945 E:002078 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2670 p:0016 s:10941 e:000940 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2669 p:0012 s:10938 e:000937 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2668 p:---- s:10933 e:000932 CFUNC  :call
c:2667 p:0050 s:10928 e:000927 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2666 p:---- s:10922 e:000921 CFUNC  :call
c:2665 p:0012 s:10918 e:000917 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2664 p:---- s:10915 e:000914 CFUNC  :each
c:2663 p:0030 s:10912 e:000911 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2662 p:0062 s:10907 e:000906 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2661 p:0012 s:10900 e:000899 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2660 p:0007 s:10896 E:001e70 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2659 p:0007 s:10893 e:000892 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2658 p:0021 s:10889 e:000888 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2657 p:0010 s:10885 e:000884 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2656 p:0010 s:10881 e:000880 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2655 p:0014 s:10879 e:000878 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2654 p:0069 s:10877 e:000876 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2653 p:0017 s:10873 e:000872 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2652 p:0014 s:10868 E:0015d8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2651 p:0007 s:10864 E:001248 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2650 p:0016 s:10860 e:000859 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2649 p:0012 s:10857 e:000856 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2648 p:---- s:10852 e:000851 CFUNC  :call
c:2647 p:0050 s:10847 e:000846 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2646 p:---- s:10841 e:000840 CFUNC  :call
c:2645 p:0012 s:10837 e:000836 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2644 p:---- s:10834 e:000833 CFUNC  :each
c:2643 p:0030 s:10831 e:000830 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2642 p:0062 s:10826 e:000825 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2641 p:0012 s:10819 e:000818 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2640 p:0007 s:10815 E:000e30 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2639 p:0007 s:10812 e:000811 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2638 p:0021 s:10808 e:000807 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2637 p:0010 s:10804 e:000803 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2636 p:0010 s:10800 e:000799 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2635 p:0014 s:10798 e:000797 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2634 p:0069 s:10796 e:000795 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2633 p:0017 s:10792 e:000791 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2632 p:0014 s:10787 E:0009a8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2631 p:0007 s:10783 E:0007b8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2630 p:0016 s:10779 e:000778 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2629 p:0012 s:10776 e:000775 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2628 p:---- s:10771 e:000770 CFUNC  :call
c:2627 p:0050 s:10766 e:000765 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2626 p:---- s:10760 e:000759 CFUNC  :call
c:2625 p:0012 s:10756 e:000755 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2624 p:---- s:10753 e:000752 CFUNC  :each
c:2623 p:0030 s:10750 e:000749 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2622 p:0062 s:10745 e:000744 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2621 p:0012 s:10738 e:000737 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2620 p:0007 s:10734 E:000200 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2619 p:0007 s:10731 e:000730 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2618 p:0021 s:10727 e:000726 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2617 p:0010 s:10723 e:000722 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2616 p:0010 s:10719 e:000718 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2615 p:0014 s:10717 e:000716 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2614 p:0069 s:10715 e:000714 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2613 p:0017 s:10711 e:000710 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2612 p:0014 s:10706 E:002628 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2611 p:0007 s:10702 E:002298 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2610 p:0016 s:10698 e:000697 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2609 p:0012 s:10695 e:000694 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2608 p:---- s:10690 e:000689 CFUNC  :call
c:2607 p:0050 s:10685 e:000684 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2606 p:---- s:10679 e:000678 CFUNC  :call
c:2605 p:0012 s:10675 e:000674 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2604 p:---- s:10672 e:000671 CFUNC  :each
c:2603 p:0030 s:10669 e:000668 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2602 p:0062 s:10664 e:000663 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2601 p:0012 s:10657 e:000656 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2600 p:0007 s:10653 E:001e80 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2599 p:0007 s:10650 e:000649 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2598 p:0021 s:10646 e:000645 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2597 p:0010 s:10642 e:000641 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2596 p:0010 s:10638 e:000637 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2595 p:0014 s:10636 e:000635 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2594 p:0069 s:10634 e:000633 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2593 p:0017 s:10630 e:000629 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2592 p:0014 s:10625 E:0019f8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2591 p:0007 s:10621 E:001808 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2590 p:0016 s:10617 e:000616 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2589 p:0012 s:10614 e:000613 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2588 p:---- s:10609 e:000608 CFUNC  :call
c:2587 p:0050 s:10604 e:000603 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2586 p:---- s:10598 e:000597 CFUNC  :call
c:2585 p:0012 s:10594 e:000593 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2584 p:---- s:10591 e:000590 CFUNC  :each
c:2583 p:0030 s:10588 e:000587 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2582 p:0062 s:10583 e:000582 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2581 p:0012 s:10576 e:000575 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2580 p:0007 s:10572 E:001250 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2579 p:0007 s:10569 e:000568 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2578 p:0021 s:10565 e:000564 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2577 p:0010 s:10561 e:000560 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2576 p:0010 s:10557 e:000556 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2575 p:0014 s:10555 e:000554 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2574 p:0069 s:10553 e:000552 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2573 p:0017 s:10549 e:000548 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2572 p:0014 s:10544 E:000f68 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2571 p:0007 s:10540 E:000bd8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2570 p:0016 s:10536 e:000535 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2569 p:0012 s:10533 e:000532 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2568 p:---- s:10528 e:000527 CFUNC  :call
c:2567 p:0050 s:10523 e:000522 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2566 p:---- s:10517 e:000516 CFUNC  :call
c:2565 p:0012 s:10513 e:000512 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2564 p:---- s:10510 e:000509 CFUNC  :each
c:2563 p:0030 s:10507 e:000506 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2562 p:0062 s:10502 e:000501 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2561 p:0012 s:10495 e:000494 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2560 p:0007 s:10491 E:0007c0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2559 p:0007 s:10488 e:000487 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2558 p:0021 s:10484 e:000483 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2557 p:0010 s:10480 e:000479 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2556 p:0010 s:10476 e:000475 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2555 p:0014 s:10474 e:000473 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2554 p:0069 s:10472 e:000471 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2553 p:0017 s:10468 e:000467 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2552 p:0014 s:10463 E:000338 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2551 p:0007 s:10459 E:000148 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2550 p:0016 s:10455 e:000454 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2549 p:0012 s:10452 e:000451 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2548 p:---- s:10447 e:000446 CFUNC  :call
c:2547 p:0050 s:10442 e:000441 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2546 p:---- s:10436 e:000435 CFUNC  :call
c:2545 p:0012 s:10432 e:000431 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2544 p:---- s:10429 e:000428 CFUNC  :each
c:2543 p:0030 s:10426 e:000425 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2542 p:0062 s:10421 e:000420 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2541 p:0012 s:10414 e:000413 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2540 p:0007 s:10410 E:0022a0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2539 p:0007 s:10407 e:000406 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2538 p:0021 s:10403 e:000402 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2537 p:0010 s:10399 e:000398 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2536 p:0010 s:10395 e:000394 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2535 p:0014 s:10393 e:000392 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2534 p:0069 s:10391 e:000390 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2533 p:0017 s:10387 e:000386 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2532 p:0014 s:10382 E:001fb8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2531 p:0007 s:10378 E:001c28 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2530 p:0016 s:10374 e:000373 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2529 p:0012 s:10371 e:000370 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2528 p:---- s:10366 e:000365 CFUNC  :call
c:2527 p:0050 s:10361 e:000360 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2526 p:---- s:10355 e:000354 CFUNC  :call
c:2525 p:0012 s:10351 e:000350 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2524 p:---- s:10348 e:000347 CFUNC  :each
c:2523 p:0030 s:10345 e:000344 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2522 p:0062 s:10340 e:000339 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2521 p:0012 s:10333 e:000332 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2520 p:0007 s:10329 E:001810 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2519 p:0007 s:10326 e:000325 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2518 p:0021 s:10322 e:000321 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2517 p:0010 s:10318 e:000317 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2516 p:0010 s:10314 e:000313 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2515 p:0014 s:10312 e:000311 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2514 p:0069 s:10310 e:000309 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2513 p:0017 s:10306 e:000305 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2512 p:0014 s:10301 E:001388 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2511 p:0007 s:10297 E:001198 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2510 p:0016 s:10293 e:000292 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2509 p:0012 s:10290 e:000289 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2508 p:---- s:10285 e:000284 CFUNC  :call
c:2507 p:0050 s:10280 e:000279 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2506 p:---- s:10274 e:000273 CFUNC  :call
c:2505 p:0012 s:10270 e:000269 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2504 p:---- s:10267 e:000266 CFUNC  :each
c:2503 p:0030 s:10264 e:000263 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2502 p:0062 s:10259 e:000258 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2501 p:0012 s:10252 e:000251 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2500 p:0007 s:10248 E:000be0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2499 p:0007 s:10245 e:000244 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2498 p:0021 s:10241 e:000240 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2497 p:0010 s:10237 e:000236 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2496 p:0010 s:10233 e:000232 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2495 p:0014 s:10231 e:000230 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2494 p:0069 s:10229 e:000228 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2493 p:0017 s:10225 e:000224 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2492 p:0014 s:10220 E:0008f8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2491 p:0007 s:10216 E:000568 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2490 p:0016 s:10212 e:000211 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2489 p:0012 s:10209 e:000208 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2488 p:---- s:10204 e:000203 CFUNC  :call
c:2487 p:0050 s:10199 e:000198 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2486 p:---- s:10193 e:000192 CFUNC  :call
c:2485 p:0012 s:10189 e:000188 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2484 p:---- s:10186 e:000185 CFUNC  :each
c:2483 p:0030 s:10183 e:000182 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2482 p:0062 s:10178 e:000177 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2481 p:0012 s:10171 e:000170 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2480 p:0007 s:10167 E:000150 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2479 p:0007 s:10164 e:000163 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2478 p:0021 s:10160 e:000159 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2477 p:0010 s:10156 e:000155 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2476 p:0010 s:10152 e:000151 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2475 p:0014 s:10150 e:000149 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2474 p:0069 s:10148 e:000147 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2473 p:0017 s:10144 e:000143 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2472 p:0014 s:10139 E:0023d8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2471 p:0007 s:10135 E:0021e8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2470 p:0016 s:10131 e:000130 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2469 p:0012 s:10128 e:000127 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2468 p:---- s:10123 e:000122 CFUNC  :call
c:2467 p:0050 s:10118 e:000117 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2466 p:---- s:10112 e:000111 CFUNC  :call
c:2465 p:0012 s:10108 e:000107 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2464 p:---- s:10105 e:000104 CFUNC  :each
c:2463 p:0030 s:10102 e:000101 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2462 p:0062 s:10097 e:000096 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2461 p:0012 s:10090 e:000089 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2460 p:0007 s:10086 E:001c30 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2459 p:0007 s:10083 e:000082 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2458 p:0021 s:10079 e:000078 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2457 p:0010 s:10075 e:000074 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2456 p:0010 s:10071 e:000070 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2455 p:0014 s:10069 e:000068 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2454 p:0069 s:10067 e:000066 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2453 p:0017 s:10063 e:000062 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2452 p:0014 s:10058 E:001948 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2451 p:0007 s:10054 E:0015b8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2450 p:0016 s:10050 e:000049 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2449 p:0012 s:10047 e:000046 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2448 p:---- s:10042 e:000041 CFUNC  :call
c:2447 p:0050 s:10037 e:000036 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2446 p:---- s:10031 e:000030 CFUNC  :call
c:2445 p:0012 s:10027 e:000026 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2444 p:---- s:10024 e:000023 CFUNC  :each
c:2443 p:0030 s:10021 e:000020 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2442 p:0062 s:10016 e:000015 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2441 p:0012 s:10009 e:000008 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2440 p:0007 s:10005 E:0011a0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2439 p:0007 s:10002 e:000001 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2438 p:0021 s:9998 e:009997 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2437 p:0010 s:9994 e:009993 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2436 p:0010 s:9990 e:009989 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2435 p:0014 s:9988 e:009987 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2434 p:0069 s:9986 e:009985 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2433 p:0017 s:9982 e:009981 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2432 p:0014 s:9977 E:000d18 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2431 p:0007 s:9973 E:000b28 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2430 p:0016 s:9969 e:009968 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2429 p:0012 s:9966 e:009965 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2428 p:---- s:9961 e:009960 CFUNC  :call
c:2427 p:0050 s:9956 e:009955 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2426 p:---- s:9950 e:009949 CFUNC  :call
c:2425 p:0012 s:9946 e:009945 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2424 p:---- s:9943 e:009942 CFUNC  :each
c:2423 p:0030 s:9940 e:009939 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2422 p:0062 s:9935 e:009934 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2421 p:0012 s:9928 e:009927 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2420 p:0007 s:9924 E:000570 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2419 p:0007 s:9921 e:009920 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2418 p:0021 s:9917 e:009916 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2417 p:0010 s:9913 e:009912 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2416 p:0010 s:9909 e:009908 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2415 p:0014 s:9907 e:009906 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2414 p:0069 s:9905 e:009904 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2413 p:0017 s:9901 e:009900 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2412 p:0014 s:9896 E:000288 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2411 p:0007 s:9892 E:002608 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2410 p:0016 s:9888 e:009887 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2409 p:0012 s:9885 e:009884 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2408 p:---- s:9880 e:009879 CFUNC  :call
c:2407 p:0050 s:9875 e:009874 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2406 p:---- s:9869 e:009868 CFUNC  :call
c:2405 p:0012 s:9865 e:009864 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2404 p:---- s:9862 e:009861 CFUNC  :each
c:2403 p:0030 s:9859 e:009858 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2402 p:0062 s:9854 e:009853 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2401 p:0012 s:9847 e:009846 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2400 p:0007 s:9843 E:0021f0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2399 p:0007 s:9840 e:009839 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2398 p:0021 s:9836 e:009835 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2397 p:0010 s:9832 e:009831 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2396 p:0010 s:9828 e:009827 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2395 p:0014 s:9826 e:009825 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2394 p:0069 s:9824 e:009823 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2393 p:0017 s:9820 e:009819 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2392 p:0014 s:9815 E:001d68 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2391 p:0007 s:9811 E:001b78 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2390 p:0016 s:9807 e:009806 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2389 p:0012 s:9804 e:009803 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2388 p:---- s:9799 e:009798 CFUNC  :call
c:2387 p:0050 s:9794 e:009793 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2386 p:---- s:9788 e:009787 CFUNC  :call
c:2385 p:0012 s:9784 e:009783 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2384 p:---- s:9781 e:009780 CFUNC  :each
c:2383 p:0030 s:9778 e:009777 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2382 p:0062 s:9773 e:009772 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2381 p:0012 s:9766 e:009765 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2380 p:0007 s:9762 E:0015c0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2379 p:0007 s:9759 e:009758 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2378 p:0021 s:9755 e:009754 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2377 p:0010 s:9751 e:009750 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2376 p:0010 s:9747 e:009746 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2375 p:0014 s:9745 e:009744 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2374 p:0069 s:9743 e:009742 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2373 p:0017 s:9739 e:009738 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2372 p:0014 s:9734 E:0012d8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2371 p:0007 s:9730 E:000f48 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2370 p:0016 s:9726 e:009725 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2369 p:0012 s:9723 e:009722 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2368 p:---- s:9718 e:009717 CFUNC  :call
c:2367 p:0050 s:9713 e:009712 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2366 p:---- s:9707 e:009706 CFUNC  :call
c:2365 p:0012 s:9703 e:009702 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2364 p:---- s:9700 e:009699 CFUNC  :each
c:2363 p:0030 s:9697 e:009696 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2362 p:0062 s:9692 e:009691 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2361 p:0012 s:9685 e:009684 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2360 p:0007 s:9681 E:0010f0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2359 p:0007 s:9678 e:009677 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2358 p:0021 s:9674 e:009673 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2357 p:0010 s:9670 e:009669 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2356 p:0010 s:9666 e:009665 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2355 p:0014 s:9664 e:009663 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2354 p:0069 s:9662 e:009661 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2353 p:0017 s:9658 e:009657 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2352 p:0014 s:9653 E:0018d8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2351 p:0007 s:9649 E:002028 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2350 p:0016 s:9645 e:009644 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2349 p:0012 s:9642 e:009641 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2348 p:---- s:9637 e:009636 CFUNC  :call
c:2347 p:0050 s:9632 e:009631 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2346 p:---- s:9626 e:009625 CFUNC  :call
c:2345 p:0012 s:9622 e:009621 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2344 p:---- s:9619 e:009618 CFUNC  :each
c:2343 p:0030 s:9616 e:009615 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2342 p:0062 s:9611 e:009610 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2341 p:0012 s:9604 e:009603 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2340 p:0007 s:9600 E:0019c0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2339 p:0007 s:9597 e:009596 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2338 p:0021 s:9593 e:009592 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2337 p:0010 s:9589 e:009588 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2336 p:0010 s:9585 e:009584 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2335 p:0014 s:9583 e:009582 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2334 p:0069 s:9581 e:009580 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2333 p:0017 s:9577 e:009576 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2332 p:0014 s:9572 E:000e48 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2331 p:0007 s:9568 E:001598 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2330 p:0016 s:9564 e:009563 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2329 p:0012 s:9561 e:009560 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2328 p:---- s:9556 e:009555 CFUNC  :call
c:2327 p:0050 s:9551 e:009550 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2326 p:---- s:9545 e:009544 CFUNC  :call
c:2325 p:0012 s:9541 e:009540 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2324 p:---- s:9538 e:009537 CFUNC  :each
c:2323 p:0030 s:9535 e:009534 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2322 p:0062 s:9530 e:009529 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2321 p:0012 s:9523 e:009522 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2320 p:0007 s:9519 E:000f70 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2319 p:0007 s:9516 e:009515 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2318 p:0021 s:9512 e:009511 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2317 p:0010 s:9508 e:009507 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2316 p:0010 s:9504 e:009503 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2315 p:0014 s:9502 e:009501 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2314 p:0069 s:9500 e:009499 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2313 p:0017 s:9496 e:009495 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2312 p:0014 s:9491 E:000ae8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2311 p:0007 s:9487 E:0008f8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2310 p:0016 s:9483 e:009482 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2309 p:0012 s:9480 e:009479 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2308 p:---- s:9475 e:009474 CFUNC  :call
c:2307 p:0050 s:9470 e:009469 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2306 p:---- s:9464 e:009463 CFUNC  :call
c:2305 p:0012 s:9460 e:009459 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2304 p:---- s:9457 e:009456 CFUNC  :each
c:2303 p:0030 s:9454 e:009453 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2302 p:0062 s:9449 e:009448 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2301 p:0012 s:9442 e:009441 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2300 p:0007 s:9438 E:000340 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2299 p:0007 s:9435 e:009434 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2298 p:0021 s:9431 e:009430 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2297 p:0010 s:9427 e:009426 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2296 p:0010 s:9423 e:009422 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2295 p:0014 s:9421 e:009420 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2294 p:0069 s:9419 e:009418 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2293 p:0017 s:9415 e:009414 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2292 p:0014 s:9410 E:000058 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2291 p:0007 s:9406 E:0023d8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2290 p:0016 s:9402 e:009401 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2289 p:0012 s:9399 e:009398 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2288 p:---- s:9394 e:009393 CFUNC  :call
c:2287 p:0050 s:9389 e:009388 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2286 p:---- s:9383 e:009382 CFUNC  :call
c:2285 p:0012 s:9379 e:009378 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2284 p:---- s:9376 e:009375 CFUNC  :each
c:2283 p:0030 s:9373 e:009372 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2282 p:0062 s:9368 e:009367 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2281 p:0012 s:9361 e:009360 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2280 p:0007 s:9357 E:001fc0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2279 p:0007 s:9354 e:009353 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2278 p:0021 s:9350 e:009349 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2277 p:0010 s:9346 e:009345 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2276 p:0010 s:9342 e:009341 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2275 p:0014 s:9340 e:009339 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2274 p:0069 s:9338 e:009337 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2273 p:0017 s:9334 e:009333 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2272 p:0014 s:9329 E:001b38 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2271 p:0007 s:9325 E:001948 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2270 p:0016 s:9321 e:009320 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2269 p:0012 s:9318 e:009317 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2268 p:---- s:9313 e:009312 CFUNC  :call
c:2267 p:0050 s:9308 e:009307 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2266 p:---- s:9302 e:009301 CFUNC  :call
c:2265 p:0012 s:9298 e:009297 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2264 p:---- s:9295 e:009294 CFUNC  :each
c:2263 p:0030 s:9292 e:009291 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2262 p:0062 s:9287 e:009286 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2261 p:0012 s:9280 e:009279 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2260 p:0007 s:9276 E:001390 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2259 p:0007 s:9273 e:009272 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2258 p:0021 s:9269 e:009268 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2257 p:0010 s:9265 e:009264 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2256 p:0010 s:9261 e:009260 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2255 p:0014 s:9259 e:009258 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2254 p:0069 s:9257 e:009256 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2253 p:0017 s:9253 e:009252 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2252 p:0014 s:9248 E:0010a8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2251 p:0007 s:9244 E:000d18 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2250 p:0016 s:9240 e:009239 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2249 p:0012 s:9237 e:009236 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2248 p:---- s:9232 e:009231 CFUNC  :call
c:2247 p:0050 s:9227 e:009226 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2246 p:---- s:9221 e:009220 CFUNC  :call
c:2245 p:0012 s:9217 e:009216 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2244 p:---- s:9214 e:009213 CFUNC  :each
c:2243 p:0030 s:9211 e:009210 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2242 p:0062 s:9206 e:009205 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2241 p:0012 s:9199 e:009198 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2240 p:0007 s:9195 E:000900 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2239 p:0007 s:9192 e:009191 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2238 p:0021 s:9188 e:009187 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2237 p:0010 s:9184 e:009183 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2236 p:0010 s:9180 e:009179 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2235 p:0014 s:9178 e:009177 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2234 p:0069 s:9176 e:009175 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2233 p:0017 s:9172 e:009171 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2232 p:0014 s:9167 E:000478 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2231 p:0007 s:9163 E:000288 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2230 p:0016 s:9159 e:009158 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2229 p:0012 s:9156 e:009155 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2228 p:---- s:9151 e:009150 CFUNC  :call
c:2227 p:0050 s:9146 e:009145 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2226 p:---- s:9140 e:009139 CFUNC  :call
c:2225 p:0012 s:9136 e:009135 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2224 p:---- s:9133 e:009132 CFUNC  :each
c:2223 p:0030 s:9130 e:009129 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2222 p:0062 s:9125 e:009124 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2221 p:0012 s:9118 e:009117 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2220 p:0007 s:9114 E:0023e0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2219 p:0007 s:9111 e:009110 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2218 p:0021 s:9107 e:009106 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2217 p:0010 s:9103 e:009102 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2216 p:0010 s:9099 e:009098 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2215 p:0014 s:9097 e:009096 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2214 p:0069 s:9095 e:009094 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2213 p:0017 s:9091 e:009090 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2212 p:0014 s:9086 E:0020f8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2211 p:0007 s:9082 E:001d68 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2210 p:0016 s:9078 e:009077 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2209 p:0012 s:9075 e:009074 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2208 p:---- s:9070 e:009069 CFUNC  :call
c:2207 p:0050 s:9065 e:009064 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2206 p:---- s:9059 e:009058 CFUNC  :call
c:2205 p:0012 s:9055 e:009054 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2204 p:---- s:9052 e:009051 CFUNC  :each
c:2203 p:0030 s:9049 e:009048 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2202 p:0062 s:9044 e:009043 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2201 p:0012 s:9037 e:009036 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2200 p:0007 s:9033 E:001950 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2199 p:0007 s:9030 e:009029 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2198 p:0021 s:9026 e:009025 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2197 p:0010 s:9022 e:009021 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2196 p:0010 s:9018 e:009017 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2195 p:0014 s:9016 e:009015 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2194 p:0069 s:9014 e:009013 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2193 p:0017 s:9010 e:009009 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2192 p:0014 s:9005 E:0014c8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2191 p:0007 s:9001 E:0012d8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2190 p:0016 s:8997 e:008996 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2189 p:0012 s:8994 e:008993 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2188 p:---- s:8989 e:008988 CFUNC  :call
c:2187 p:0050 s:8984 e:008983 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2186 p:---- s:8978 e:008977 CFUNC  :call
c:2185 p:0012 s:8974 e:008973 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2184 p:---- s:8971 e:008970 CFUNC  :each
c:2183 p:0030 s:8968 e:008967 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2182 p:0062 s:8963 e:008962 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2181 p:0012 s:8956 e:008955 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2180 p:0007 s:8952 E:000c90 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2179 p:0007 s:8949 e:008948 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2178 p:0021 s:8945 e:008944 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2177 p:0010 s:8941 e:008940 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2176 p:0010 s:8937 e:008936 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2175 p:0014 s:8935 e:008934 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2174 p:0069 s:8933 e:008932 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2173 p:0017 s:8929 e:008928 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2172 p:0014 s:8924 E:0003e8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2171 p:0007 s:8920 E:0016f8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2170 p:0016 s:8916 e:008915 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2169 p:0012 s:8913 e:008912 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2168 p:---- s:8908 e:008907 CFUNC  :call
c:2167 p:0050 s:8903 e:008902 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2166 p:---- s:8897 e:008896 CFUNC  :call
c:2165 p:0012 s:8893 e:008892 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2164 p:---- s:8890 e:008889 CFUNC  :each
c:2163 p:0030 s:8887 e:008886 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2162 p:0062 s:8882 e:008881 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2161 p:0012 s:8875 e:008874 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2160 p:0007 s:8871 E:0004d0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2159 p:0007 s:8868 e:008867 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2158 p:0021 s:8864 e:008863 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2157 p:0010 s:8860 e:008859 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2156 p:0010 s:8856 e:008855 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2155 p:0014 s:8854 e:008853 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2154 p:0069 s:8852 e:008851 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2153 p:0017 s:8848 e:008847 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2152 p:0014 s:8843 E:001ec8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2151 p:0007 s:8839 E:002618 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2150 p:0016 s:8835 e:008834 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2149 p:0012 s:8832 e:008831 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2148 p:---- s:8827 e:008826 CFUNC  :call
c:2147 p:0050 s:8822 e:008821 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2146 p:---- s:8816 e:008815 CFUNC  :call
c:2145 p:0012 s:8812 e:008811 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2144 p:---- s:8809 e:008808 CFUNC  :each
c:2143 p:0030 s:8806 e:008805 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2142 p:0062 s:8801 e:008800 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2141 p:0012 s:8794 e:008793 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2140 p:0007 s:8790 E:001ff0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2139 p:0007 s:8787 e:008786 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2138 p:0021 s:8783 e:008782 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2137 p:0010 s:8779 e:008778 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2136 p:0010 s:8775 e:008774 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2135 p:0014 s:8773 e:008772 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2134 p:0069 s:8771 e:008770 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2133 p:0017 s:8767 e:008766 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2132 p:0014 s:8762 E:001d08 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2131 p:0007 s:8758 E:001978 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2130 p:0016 s:8754 e:008753 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2129 p:0012 s:8751 e:008750 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2128 p:---- s:8746 e:008745 CFUNC  :call
c:2127 p:0050 s:8741 e:008740 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2126 p:---- s:8735 e:008734 CFUNC  :call
c:2125 p:0012 s:8731 e:008730 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2124 p:---- s:8728 e:008727 CFUNC  :each
c:2123 p:0030 s:8725 e:008724 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2122 p:0062 s:8720 e:008719 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2121 p:0012 s:8713 e:008712 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2120 p:0007 s:8709 E:001560 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2119 p:0007 s:8706 e:008705 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2118 p:0021 s:8702 e:008701 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2117 p:0010 s:8698 e:008697 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2116 p:0010 s:8694 e:008693 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2115 p:0014 s:8692 e:008691 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2114 p:0069 s:8690 e:008689 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2113 p:0017 s:8686 e:008685 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2112 p:0014 s:8681 E:0010d8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2111 p:0007 s:8677 E:000ee8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2110 p:0016 s:8673 e:008672 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2109 p:0012 s:8670 e:008669 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2108 p:---- s:8665 e:008664 CFUNC  :call
c:2107 p:0050 s:8660 e:008659 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2106 p:---- s:8654 e:008653 CFUNC  :call
c:2105 p:0012 s:8650 e:008649 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2104 p:---- s:8647 e:008646 CFUNC  :each
c:2103 p:0030 s:8644 e:008643 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2102 p:0062 s:8639 e:008638 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2101 p:0012 s:8632 e:008631 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2100 p:0007 s:8628 E:000930 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2099 p:0007 s:8625 e:008624 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2098 p:0021 s:8621 e:008620 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2097 p:0010 s:8617 e:008616 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2096 p:0010 s:8613 e:008612 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2095 p:0014 s:8611 e:008610 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2094 p:0069 s:8609 e:008608 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2093 p:0017 s:8605 e:008604 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2092 p:0014 s:8600 E:000648 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2091 p:0007 s:8596 E:0002b8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2090 p:0016 s:8592 e:008591 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2089 p:0012 s:8589 e:008588 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2088 p:---- s:8584 e:008583 CFUNC  :call
c:2087 p:0050 s:8579 e:008578 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2086 p:---- s:8573 e:008572 CFUNC  :call
c:2085 p:0012 s:8569 e:008568 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2084 p:---- s:8566 e:008565 CFUNC  :each
c:2083 p:0030 s:8563 e:008562 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2082 p:0062 s:8558 e:008557 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2081 p:0012 s:8551 e:008550 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2080 p:0007 s:8547 E:0025b0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2079 p:0007 s:8544 e:008543 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2078 p:0021 s:8540 e:008539 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2077 p:0010 s:8536 e:008535 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2076 p:0010 s:8532 e:008531 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2075 p:0014 s:8530 e:008529 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2074 p:0069 s:8528 e:008527 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2073 p:0017 s:8524 e:008523 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2072 p:0014 s:8519 E:002128 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2071 p:0007 s:8515 E:001f38 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2070 p:0016 s:8511 e:008510 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2069 p:0012 s:8508 e:008507 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2068 p:---- s:8503 e:008502 CFUNC  :call
c:2067 p:0050 s:8498 e:008497 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2066 p:---- s:8492 e:008491 CFUNC  :call
c:2065 p:0012 s:8488 e:008487 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2064 p:---- s:8485 e:008484 CFUNC  :each
c:2063 p:0030 s:8482 e:008481 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2062 p:0062 s:8477 e:008476 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2061 p:0012 s:8470 e:008469 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2060 p:0007 s:8466 E:001980 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2059 p:0007 s:8463 e:008462 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2058 p:0021 s:8459 e:008458 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2057 p:0010 s:8455 e:008454 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2056 p:0010 s:8451 e:008450 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2055 p:0014 s:8449 e:008448 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2054 p:0069 s:8447 e:008446 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2053 p:0017 s:8443 e:008442 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2052 p:0014 s:8438 E:001698 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2051 p:0007 s:8434 E:001308 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2050 p:0016 s:8430 e:008429 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2049 p:0012 s:8427 e:008426 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2048 p:---- s:8422 e:008421 CFUNC  :call
c:2047 p:0050 s:8417 e:008416 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2046 p:---- s:8411 e:008410 CFUNC  :call
c:2045 p:0012 s:8407 e:008406 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2044 p:---- s:8404 e:008403 CFUNC  :each
c:2043 p:0030 s:8401 e:008400 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2042 p:0062 s:8396 e:008395 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2041 p:0012 s:8389 e:008388 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2040 p:0007 s:8385 E:000ef0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2039 p:0007 s:8382 e:008381 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2038 p:0021 s:8378 e:008377 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2037 p:0010 s:8374 e:008373 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2036 p:0010 s:8370 e:008369 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2035 p:0014 s:8368 e:008367 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2034 p:0069 s:8366 e:008365 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2033 p:0017 s:8362 e:008361 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2032 p:0014 s:8357 E:000a68 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2031 p:0007 s:8353 E:000878 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2030 p:0016 s:8349 e:008348 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2029 p:0012 s:8346 e:008345 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2028 p:---- s:8341 e:008340 CFUNC  :call
c:2027 p:0050 s:8336 e:008335 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2026 p:---- s:8330 e:008329 CFUNC  :call
c:2025 p:0012 s:8326 e:008325 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2024 p:---- s:8323 e:008322 CFUNC  :each
c:2023 p:0030 s:8320 e:008319 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2022 p:0062 s:8315 e:008314 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2021 p:0012 s:8308 e:008307 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2020 p:0007 s:8304 E:000090 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:2019 p:0007 s:8301 e:008300 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:2018 p:0021 s:8297 e:008296 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:2017 p:0010 s:8293 e:008292 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:2016 p:0010 s:8289 e:008288 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2015 p:0014 s:8287 e:008286 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:2014 p:0069 s:8285 e:008284 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:2013 p:0017 s:8281 e:008280 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:2012 p:0014 s:8276 E:001c28 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:2011 p:0007 s:8272 E:002378 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:2010 p:0016 s:8268 e:008267 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:2009 p:0012 s:8265 e:008264 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:2008 p:---- s:8260 e:008259 CFUNC  :call
c:2007 p:0050 s:8255 e:008254 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:2006 p:---- s:8249 e:008248 CFUNC  :call
c:2005 p:0012 s:8245 e:008244 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:2004 p:---- s:8242 e:008241 CFUNC  :each
c:2003 p:0030 s:8239 e:008238 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:2002 p:0062 s:8234 e:008233 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:2001 p:0012 s:8227 e:008226 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:2000 p:0007 s:8223 E:001d10 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1999 p:0007 s:8220 e:008219 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1998 p:0021 s:8216 e:008215 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1997 p:0010 s:8212 e:008211 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1996 p:0010 s:8208 e:008207 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1995 p:0014 s:8206 e:008205 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1994 p:0069 s:8204 e:008203 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1993 p:0017 s:8200 e:008199 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1992 p:0014 s:8195 E:001918 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1991 p:0007 s:8191 E:0016b8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1990 p:0016 s:8187 e:008186 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1989 p:0012 s:8184 e:008183 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1988 p:---- s:8179 e:008178 CFUNC  :call
c:1987 p:0050 s:8174 e:008173 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1986 p:---- s:8168 e:008167 CFUNC  :call
c:1985 p:0012 s:8164 e:008163 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1984 p:---- s:8161 e:008160 CFUNC  :each
c:1983 p:0030 s:8158 e:008157 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1982 p:0062 s:8153 e:008152 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1981 p:0012 s:8146 e:008145 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1980 p:0007 s:8142 E:001170 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1979 p:0007 s:8139 e:008138 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1978 p:0021 s:8135 e:008134 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1977 p:0010 s:8131 e:008130 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1976 p:0010 s:8127 e:008126 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1975 p:0014 s:8125 e:008124 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1974 p:0069 s:8123 e:008122 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1973 p:0017 s:8119 e:008118 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1972 p:0014 s:8114 E:000e88 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1971 p:0007 s:8110 E:000af8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1970 p:0016 s:8106 e:008105 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1969 p:0012 s:8103 e:008102 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1968 p:---- s:8098 e:008097 CFUNC  :call
c:1967 p:0050 s:8093 e:008092 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1966 p:---- s:8087 e:008086 CFUNC  :call
c:1965 p:0012 s:8083 e:008082 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1964 p:---- s:8080 e:008079 CFUNC  :each
c:1963 p:0030 s:8077 e:008076 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1962 p:0062 s:8072 e:008071 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1961 p:0012 s:8065 e:008064 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1960 p:0007 s:8061 E:0006e0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1959 p:0007 s:8058 e:008057 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1958 p:0021 s:8054 e:008053 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1957 p:0010 s:8050 e:008049 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1956 p:0010 s:8046 e:008045 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1955 p:0014 s:8044 e:008043 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1954 p:0069 s:8042 e:008041 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1953 p:0017 s:8038 e:008037 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1952 p:0014 s:8033 E:000258 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1951 p:0007 s:8029 E:000068 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1950 p:0016 s:8025 e:008024 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1949 p:0012 s:8022 e:008021 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1948 p:---- s:8017 e:008016 CFUNC  :call
c:1947 p:0050 s:8012 e:008011 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1946 p:---- s:8006 e:008005 CFUNC  :call
c:1945 p:0012 s:8002 e:008001 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1944 p:---- s:7999 e:007998 CFUNC  :each
c:1943 p:0030 s:7996 e:007995 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1942 p:0062 s:7991 e:007990 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1941 p:0012 s:7984 e:007983 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1940 p:0007 s:7980 E:0021c0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1939 p:0007 s:7977 e:007976 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1938 p:0021 s:7973 e:007972 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1937 p:0010 s:7969 e:007968 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1936 p:0010 s:7965 e:007964 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1935 p:0014 s:7963 e:007962 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1934 p:0069 s:7961 e:007960 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1933 p:0017 s:7957 e:007956 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1932 p:0014 s:7952 E:001ed8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1931 p:0007 s:7948 E:001b48 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1930 p:0016 s:7944 e:007943 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1929 p:0012 s:7941 e:007940 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1928 p:---- s:7936 e:007935 CFUNC  :call
c:1927 p:0050 s:7931 e:007930 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1926 p:---- s:7925 e:007924 CFUNC  :call
c:1925 p:0012 s:7921 e:007920 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1924 p:---- s:7918 e:007917 CFUNC  :each
c:1923 p:0030 s:7915 e:007914 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1922 p:0062 s:7910 e:007909 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1921 p:0012 s:7903 e:007902 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1920 p:0007 s:7899 E:001730 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1919 p:0007 s:7896 e:007895 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1918 p:0021 s:7892 e:007891 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1917 p:0010 s:7888 e:007887 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1916 p:0010 s:7884 e:007883 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1915 p:0014 s:7882 e:007881 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1914 p:0069 s:7880 e:007879 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1913 p:0017 s:7876 e:007875 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1912 p:0014 s:7871 E:0012a8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1911 p:0007 s:7867 E:0010b8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1910 p:0016 s:7863 e:007862 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1909 p:0012 s:7860 e:007859 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1908 p:---- s:7855 e:007854 CFUNC  :call
c:1907 p:0050 s:7850 e:007849 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1906 p:---- s:7844 e:007843 CFUNC  :call
c:1905 p:0012 s:7840 e:007839 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1904 p:---- s:7837 e:007836 CFUNC  :each
c:1903 p:0030 s:7834 e:007833 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1902 p:0062 s:7829 e:007828 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1901 p:0012 s:7822 e:007821 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1900 p:0007 s:7818 E:000b00 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1899 p:0007 s:7815 e:007814 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1898 p:0021 s:7811 e:007810 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1897 p:0010 s:7807 e:007806 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1896 p:0010 s:7803 e:007802 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1895 p:0014 s:7801 e:007800 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1894 p:0069 s:7799 e:007798 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1893 p:0017 s:7795 e:007794 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1892 p:0014 s:7790 E:000818 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1891 p:0007 s:7786 E:000488 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1890 p:0016 s:7782 e:007781 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1889 p:0012 s:7779 e:007778 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1888 p:---- s:7774 e:007773 CFUNC  :call
c:1887 p:0050 s:7769 e:007768 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1886 p:---- s:7763 e:007762 CFUNC  :call
c:1885 p:0012 s:7759 e:007758 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1884 p:---- s:7756 e:007755 CFUNC  :each
c:1883 p:0030 s:7753 e:007752 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1882 p:0062 s:7748 e:007747 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1881 p:0012 s:7741 e:007740 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1880 p:0007 s:7737 E:001480 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1879 p:0007 s:7734 e:007733 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1878 p:0021 s:7730 e:007729 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1877 p:0010 s:7726 e:007725 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1876 p:0010 s:7722 e:007721 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1875 p:0014 s:7720 e:007719 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1874 p:0069 s:7718 e:007717 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1873 p:0017 s:7714 e:007713 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1872 p:0014 s:7709 E:000768 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1871 p:0007 s:7705 E:000eb8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1870 p:0016 s:7701 e:007700 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1869 p:0012 s:7698 e:007697 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1868 p:---- s:7693 e:007692 CFUNC  :call
c:1867 p:0050 s:7688 e:007687 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1866 p:---- s:7682 e:007681 CFUNC  :call
c:1865 p:0012 s:7678 e:007677 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1864 p:---- s:7675 e:007674 CFUNC  :each
c:1863 p:0030 s:7672 e:007671 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1862 p:0062 s:7667 e:007666 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1861 p:0012 s:7660 e:007659 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1860 p:0007 s:7656 E:000890 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1859 p:0007 s:7653 e:007652 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1858 p:0021 s:7649 e:007648 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1857 p:0010 s:7645 e:007644 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1856 p:0010 s:7641 e:007640 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1855 p:0014 s:7639 e:007638 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1854 p:0069 s:7637 e:007636 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1853 p:0017 s:7633 e:007632 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1852 p:0014 s:7628 E:0005a8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1851 p:0007 s:7624 E:000218 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1850 p:0016 s:7620 e:007619 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1849 p:0012 s:7617 e:007616 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1848 p:---- s:7612 e:007611 CFUNC  :call
c:1847 p:0050 s:7607 e:007606 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1846 p:---- s:7601 e:007600 CFUNC  :call
c:1845 p:0012 s:7597 e:007596 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1844 p:---- s:7594 e:007593 CFUNC  :each
c:1843 p:0030 s:7591 e:007590 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1842 p:0062 s:7586 e:007585 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1841 p:0012 s:7579 e:007578 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1840 p:0007 s:7575 E:002510 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1839 p:0007 s:7572 e:007571 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1838 p:0021 s:7568 e:007567 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1837 p:0010 s:7564 e:007563 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1836 p:0010 s:7560 e:007559 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1835 p:0014 s:7558 e:007557 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1834 p:0069 s:7556 e:007555 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1833 p:0017 s:7552 e:007551 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1832 p:0014 s:7547 E:002088 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1831 p:0007 s:7543 E:001e98 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1830 p:0016 s:7539 e:007538 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1829 p:0012 s:7536 e:007535 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1828 p:---- s:7531 e:007530 CFUNC  :call
c:1827 p:0050 s:7526 e:007525 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1826 p:---- s:7520 e:007519 CFUNC  :call
c:1825 p:0012 s:7516 e:007515 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1824 p:---- s:7513 e:007512 CFUNC  :each
c:1823 p:0030 s:7510 e:007509 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1822 p:0062 s:7505 e:007504 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1821 p:0012 s:7498 e:007497 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1820 p:0007 s:7494 E:000340 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1819 p:0007 s:7491 e:007490 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1818 p:0021 s:7487 e:007486 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1817 p:0010 s:7483 e:007482 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1816 p:0010 s:7479 e:007478 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1815 p:0014 s:7477 e:007476 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1814 p:0069 s:7475 e:007474 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1813 p:0017 s:7471 e:007470 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1812 p:0014 s:7466 E:001ed8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1811 p:0007 s:7462 E:002628 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1810 p:0016 s:7458 e:007457 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1809 p:0012 s:7455 e:007454 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1808 p:---- s:7450 e:007449 CFUNC  :call
c:1807 p:0050 s:7445 e:007444 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1806 p:---- s:7439 e:007438 CFUNC  :call
c:1805 p:0012 s:7435 e:007434 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1804 p:---- s:7432 e:007431 CFUNC  :each
c:1803 p:0030 s:7429 e:007428 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1802 p:0062 s:7424 e:007423 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1801 p:0012 s:7417 e:007416 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1800 p:0007 s:7413 E:0002a0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1799 p:0007 s:7410 e:007409 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1798 p:0021 s:7406 e:007405 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1797 p:0010 s:7402 e:007401 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1796 p:0010 s:7398 e:007397 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1795 p:0014 s:7396 e:007395 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1794 p:0069 s:7394 e:007393 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1793 p:0017 s:7390 e:007389 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1792 p:0014 s:7385 E:001a28 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1791 p:0007 s:7381 E:001838 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1790 p:0016 s:7377 e:007376 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1789 p:0012 s:7374 e:007373 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1788 p:---- s:7369 e:007368 CFUNC  :call
c:1787 p:0050 s:7364 e:007363 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1786 p:---- s:7358 e:007357 CFUNC  :call
c:1785 p:0012 s:7354 e:007353 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1784 p:---- s:7351 e:007350 CFUNC  :each
c:1783 p:0030 s:7348 e:007347 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1782 p:0062 s:7343 e:007342 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1781 p:0012 s:7336 e:007335 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1780 p:0007 s:7332 E:000ca0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1779 p:0007 s:7329 e:007328 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1778 p:0021 s:7325 e:007324 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1777 p:0010 s:7321 e:007320 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1776 p:0010 s:7317 e:007316 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1775 p:0014 s:7315 e:007314 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1774 p:0069 s:7313 e:007312 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1773 p:0017 s:7309 e:007308 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1772 p:0014 s:7304 E:002128 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1771 p:0007 s:7300 E:000168 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1770 p:0016 s:7296 e:007295 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1769 p:0012 s:7293 e:007292 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1768 p:---- s:7288 e:007287 CFUNC  :call
c:1767 p:0050 s:7283 e:007282 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1766 p:---- s:7277 e:007276 CFUNC  :call
c:1765 p:0012 s:7273 e:007272 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1764 p:---- s:7270 e:007269 CFUNC  :each
c:1763 p:0030 s:7267 e:007266 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1762 p:0062 s:7262 e:007261 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1761 p:0012 s:7255 e:007254 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1760 p:0007 s:7251 E:002210 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1759 p:0007 s:7248 e:007247 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1758 p:0021 s:7244 e:007243 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1757 p:0010 s:7240 e:007239 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1756 p:0010 s:7236 e:007235 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1755 p:0014 s:7234 e:007233 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1754 p:0069 s:7232 e:007231 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1753 p:0017 s:7228 e:007227 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1752 p:0014 s:7223 E:0014f8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1751 p:0007 s:7219 E:001c48 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1750 p:0016 s:7215 e:007214 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1749 p:0012 s:7212 e:007211 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1748 p:---- s:7207 e:007206 CFUNC  :call
c:1747 p:0050 s:7202 e:007201 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1746 p:---- s:7196 e:007195 CFUNC  :call
c:1745 p:0012 s:7192 e:007191 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1744 p:---- s:7189 e:007188 CFUNC  :each
c:1743 p:0030 s:7186 e:007185 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1742 p:0062 s:7181 e:007180 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1741 p:0012 s:7174 e:007173 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1740 p:0007 s:7170 E:001620 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1739 p:0007 s:7167 e:007166 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1738 p:0021 s:7163 e:007162 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1737 p:0010 s:7159 e:007158 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1736 p:0010 s:7155 e:007154 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1735 p:0014 s:7153 e:007152 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1734 p:0069 s:7151 e:007150 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1733 p:0017 s:7147 e:007146 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1732 p:0014 s:7142 E:001338 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1731 p:0007 s:7138 E:000fa8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1730 p:0016 s:7134 e:007133 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1729 p:0012 s:7131 e:007130 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1728 p:---- s:7126 e:007125 CFUNC  :call
c:1727 p:0050 s:7121 e:007120 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1726 p:---- s:7115 e:007114 CFUNC  :call
c:1725 p:0012 s:7111 e:007110 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1724 p:---- s:7108 e:007107 CFUNC  :each
c:1723 p:0030 s:7105 e:007104 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1722 p:0062 s:7100 e:007099 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1721 p:0012 s:7093 e:007092 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1720 p:0007 s:7089 E:0023d0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1719 p:0007 s:7086 e:007085 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1718 p:0021 s:7082 e:007081 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1717 p:0010 s:7078 e:007077 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1716 p:0010 s:7074 e:007073 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1715 p:0014 s:7072 e:007071 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1714 p:0069 s:7070 e:007069 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1713 p:0017 s:7066 e:007065 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1712 p:0014 s:7061 E:0016b8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1711 p:0007 s:7057 E:001e08 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1710 p:0016 s:7053 e:007052 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1709 p:0012 s:7050 e:007049 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1708 p:---- s:7045 e:007044 CFUNC  :call
c:1707 p:0050 s:7040 e:007039 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1706 p:---- s:7034 e:007033 CFUNC  :call
c:1705 p:0012 s:7030 e:007029 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1704 p:---- s:7027 e:007026 CFUNC  :each
c:1703 p:0030 s:7024 e:007023 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1702 p:0062 s:7019 e:007018 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1701 p:0012 s:7012 e:007011 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1700 p:0007 s:7008 E:0017e0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1699 p:0007 s:7005 e:007004 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1698 p:0021 s:7001 e:007000 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1697 p:0010 s:6997 e:006996 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1696 p:0010 s:6993 e:006992 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1695 p:0014 s:6991 e:006990 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1694 p:0069 s:6989 e:006988 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1693 p:0017 s:6985 e:006984 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1692 p:0014 s:6980 E:0014f8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1691 p:0007 s:6976 E:001168 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1690 p:0016 s:6972 e:006971 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1689 p:0012 s:6969 e:006968 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1688 p:---- s:6964 e:006963 CFUNC  :call
c:1687 p:0050 s:6959 e:006958 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1686 p:---- s:6953 e:006952 CFUNC  :call
c:1685 p:0012 s:6949 e:006948 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1684 p:---- s:6946 e:006945 CFUNC  :each
c:1683 p:0030 s:6943 e:006942 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1682 p:0062 s:6938 e:006937 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1681 p:0012 s:6931 e:006930 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1680 p:0007 s:6927 E:001a20 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1679 p:0007 s:6924 e:006923 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1678 p:0021 s:6920 e:006919 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1677 p:0010 s:6916 e:006915 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1676 p:0010 s:6912 e:006911 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1675 p:0014 s:6910 e:006909 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1674 p:0069 s:6908 e:006907 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1673 p:0017 s:6904 e:006903 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1672 p:0014 s:6899 E:0005f8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1671 p:0007 s:6895 E:000d48 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1670 p:0016 s:6891 e:006890 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1669 p:0012 s:6888 e:006887 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1668 p:---- s:6883 e:006882 CFUNC  :call
c:1667 p:0050 s:6878 e:006877 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1666 p:---- s:6872 e:006871 CFUNC  :call
c:1665 p:0012 s:6868 e:006867 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1664 p:---- s:6865 e:006864 CFUNC  :each
c:1663 p:0030 s:6862 e:006861 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1662 p:0062 s:6857 e:006856 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1661 p:0012 s:6850 e:006849 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1660 p:0007 s:6846 E:0006e0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1659 p:0007 s:6843 e:006842 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1658 p:0021 s:6839 e:006838 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1657 p:0010 s:6835 e:006834 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1656 p:0010 s:6831 e:006830 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1655 p:0014 s:6829 e:006828 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1654 p:0069 s:6827 e:006826 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1653 p:0017 s:6823 e:006822 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1652 p:0014 s:6818 E:002278 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1651 p:0007 s:6814 E:0002b8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1650 p:0016 s:6810 e:006809 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1649 p:0012 s:6807 e:006806 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1648 p:---- s:6802 e:006801 CFUNC  :call
c:1647 p:0050 s:6797 e:006796 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1646 p:---- s:6791 e:006790 CFUNC  :call
c:1645 p:0012 s:6787 e:006786 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1644 p:---- s:6784 e:006783 CFUNC  :each
c:1643 p:0030 s:6781 e:006780 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1642 p:0062 s:6776 e:006775 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1641 p:0012 s:6769 e:006768 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1640 p:0007 s:6765 E:0023a0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1639 p:0007 s:6762 e:006761 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1638 p:0021 s:6758 e:006757 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1637 p:0010 s:6754 e:006753 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1636 p:0010 s:6750 e:006749 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1635 p:0014 s:6748 e:006747 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1634 p:0069 s:6746 e:006745 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1633 p:0017 s:6742 e:006741 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1632 p:0014 s:6737 E:001f18 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1631 p:0007 s:6733 E:001d28 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1630 p:0016 s:6729 e:006728 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1629 p:0012 s:6726 e:006725 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1628 p:---- s:6721 e:006720 CFUNC  :call
c:1627 p:0050 s:6716 e:006715 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1626 p:---- s:6710 e:006709 CFUNC  :call
c:1625 p:0012 s:6706 e:006705 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1624 p:---- s:6703 e:006702 CFUNC  :each
c:1623 p:0030 s:6700 e:006699 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1622 p:0062 s:6695 e:006694 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1621 p:0012 s:6688 e:006687 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1620 p:0007 s:6684 E:0019c0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1619 p:0007 s:6681 e:006680 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1618 p:0021 s:6677 e:006676 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1617 p:0010 s:6673 e:006672 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1616 p:0010 s:6669 e:006668 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1615 p:0014 s:6667 e:006666 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1614 p:0069 s:6665 e:006664 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1613 p:0017 s:6661 e:006660 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1612 p:0014 s:6656 E:000e48 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1611 p:0007 s:6652 E:001598 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1610 p:0016 s:6648 e:006647 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1609 p:0012 s:6645 e:006644 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1608 p:---- s:6640 e:006639 CFUNC  :call
c:1607 p:0050 s:6635 e:006634 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1606 p:---- s:6629 e:006628 CFUNC  :call
c:1605 p:0012 s:6625 e:006624 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1604 p:---- s:6622 e:006621 CFUNC  :each
c:1603 p:0030 s:6619 e:006618 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1602 p:0062 s:6614 e:006613 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1601 p:0012 s:6607 e:006606 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1600 p:0007 s:6603 E:001010 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1599 p:0007 s:6600 e:006599 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1598 p:0021 s:6596 e:006595 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1597 p:0010 s:6592 e:006591 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1596 p:0010 s:6588 e:006587 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1595 p:0014 s:6586 e:006585 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1594 p:0069 s:6584 e:006583 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1593 p:0017 s:6580 e:006579 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1592 p:0014 s:6575 E:000b38 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1591 p:0007 s:6571 E:0009c8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1590 p:0016 s:6567 e:006566 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1589 p:0012 s:6564 e:006563 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1588 p:---- s:6559 e:006558 CFUNC  :call
c:1587 p:0050 s:6554 e:006553 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1586 p:---- s:6548 e:006547 CFUNC  :call
c:1585 p:0012 s:6544 e:006543 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1584 p:---- s:6541 e:006540 CFUNC  :each
c:1583 p:0030 s:6538 e:006537 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1582 p:0062 s:6533 e:006532 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1581 p:0012 s:6526 e:006525 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1580 p:0007 s:6522 E:0026b0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1579 p:0007 s:6519 e:006518 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1578 p:0021 s:6515 e:006514 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1577 p:0010 s:6511 e:006510 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1576 p:0010 s:6507 e:006506 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1575 p:0014 s:6505 e:006504 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1574 p:0069 s:6503 e:006502 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1573 p:0017 s:6499 e:006498 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1572 p:0014 s:6494 E:001b98 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1571 p:0007 s:6490 E:001b38 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1570 p:0016 s:6486 e:006485 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1569 p:0012 s:6483 e:006482 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1568 p:---- s:6478 e:006477 CFUNC  :call
c:1567 p:0050 s:6473 e:006472 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1566 p:---- s:6467 e:006466 CFUNC  :call
c:1565 p:0012 s:6463 e:006462 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1564 p:---- s:6460 e:006459 CFUNC  :each
c:1563 p:0030 s:6457 e:006456 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1562 p:0062 s:6452 e:006451 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1561 p:0012 s:6445 e:006444 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1560 p:0007 s:6441 E:001d90 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1559 p:0007 s:6438 e:006437 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1558 p:0021 s:6434 e:006433 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1557 p:0010 s:6430 e:006429 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1556 p:0010 s:6426 e:006425 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1555 p:0014 s:6424 e:006423 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1554 p:0069 s:6422 e:006421 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1553 p:0017 s:6418 e:006417 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1552 p:0014 s:6413 E:000eb8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1551 p:0007 s:6409 E:000e58 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1550 p:0016 s:6405 e:006404 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1549 p:0012 s:6402 e:006401 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1548 p:---- s:6397 e:006396 CFUNC  :call
c:1547 p:0050 s:6392 e:006391 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1546 p:---- s:6386 e:006385 CFUNC  :call
c:1545 p:0012 s:6382 e:006381 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1544 p:---- s:6379 e:006378 CFUNC  :each
c:1543 p:0030 s:6376 e:006375 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1542 p:0062 s:6371 e:006370 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1541 p:0012 s:6364 e:006363 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1540 p:0007 s:6360 E:0010b0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1539 p:0007 s:6357 e:006356 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1538 p:0021 s:6353 e:006352 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1537 p:0010 s:6349 e:006348 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1536 p:0010 s:6345 e:006344 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1535 p:0014 s:6343 e:006342 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1534 p:0069 s:6341 e:006340 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1533 p:0017 s:6337 e:006336 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1532 p:0014 s:6332 E:000598 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1531 p:0007 s:6328 E:000538 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1530 p:0016 s:6324 e:006323 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1529 p:0012 s:6321 e:006320 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1528 p:---- s:6316 e:006315 CFUNC  :call
c:1527 p:0050 s:6311 e:006310 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1526 p:---- s:6305 e:006304 CFUNC  :call
c:1525 p:0012 s:6301 e:006300 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1524 p:---- s:6298 e:006297 CFUNC  :each
c:1523 p:0030 s:6295 e:006294 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1522 p:0062 s:6290 e:006289 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1521 p:0012 s:6283 e:006282 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1520 p:0007 s:6279 E:0002b0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1519 p:0007 s:6276 e:006275 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1518 p:0021 s:6272 e:006271 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1517 p:0010 s:6268 e:006267 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1516 p:0010 s:6264 e:006263 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1515 p:0014 s:6262 e:006261 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1514 p:0069 s:6260 e:006259 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1513 p:0017 s:6256 e:006255 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1512 p:0014 s:6251 E:001d08 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1511 p:0007 s:6247 E:001ca8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1510 p:0016 s:6243 e:006242 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1509 p:0012 s:6240 e:006239 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1508 p:---- s:6235 e:006234 CFUNC  :call
c:1507 p:0050 s:6230 e:006229 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1506 p:---- s:6224 e:006223 CFUNC  :call
c:1505 p:0012 s:6220 e:006219 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1504 p:---- s:6217 e:006216 CFUNC  :each
c:1503 p:0030 s:6214 e:006213 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1502 p:0062 s:6209 e:006208 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1501 p:0012 s:6202 e:006201 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1500 p:0007 s:6198 E:0010a0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1499 p:0007 s:6195 e:006194 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1498 p:0021 s:6191 e:006190 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1497 p:0010 s:6187 e:006186 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1496 p:0010 s:6183 e:006182 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1495 p:0014 s:6181 e:006180 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1494 p:0069 s:6179 e:006178 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1493 p:0017 s:6175 e:006174 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1492 p:0014 s:6170 E:001288 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1491 p:0007 s:6166 E:001228 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1490 p:0016 s:6162 e:006161 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1489 p:0012 s:6159 e:006158 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1488 p:---- s:6154 e:006153 CFUNC  :call
c:1487 p:0050 s:6149 e:006148 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1486 p:---- s:6143 e:006142 CFUNC  :call
c:1485 p:0012 s:6139 e:006138 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1484 p:---- s:6136 e:006135 CFUNC  :each
c:1483 p:0030 s:6133 e:006132 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1482 p:0062 s:6128 e:006127 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1481 p:0012 s:6121 e:006120 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1480 p:0007 s:6117 E:001480 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1479 p:0007 s:6114 e:006113 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1478 p:0021 s:6110 e:006109 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1477 p:0010 s:6106 e:006105 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1476 p:0010 s:6102 e:006101 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1475 p:0014 s:6100 e:006099 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1474 p:0069 s:6098 e:006097 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1473 p:0017 s:6094 e:006093 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1472 p:0014 s:6089 E:001648 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1471 p:0007 s:6085 E:0015e8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1470 p:0016 s:6081 e:006080 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1469 p:0012 s:6078 e:006077 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1468 p:---- s:6073 e:006072 CFUNC  :call
c:1467 p:0050 s:6068 e:006067 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1466 p:---- s:6062 e:006061 CFUNC  :call
c:1465 p:0012 s:6058 e:006057 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1464 p:---- s:6055 e:006054 CFUNC  :each
c:1463 p:0030 s:6052 e:006051 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1462 p:0062 s:6047 e:006046 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1461 p:0012 s:6040 e:006039 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1460 p:0007 s:6036 E:001840 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1459 p:0007 s:6033 e:006032 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1458 p:0021 s:6029 e:006028 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1457 p:0010 s:6025 e:006024 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1456 p:0010 s:6021 e:006020 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1455 p:0014 s:6019 e:006018 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1454 p:0069 s:6017 e:006016 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1453 p:0017 s:6013 e:006012 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1452 p:0014 s:6008 E:000e18 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1451 p:0007 s:6004 E:000db8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1450 p:0016 s:6000 e:005999 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1449 p:0012 s:5997 e:005996 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1448 p:---- s:5992 e:005991 CFUNC  :call
c:1447 p:0050 s:5987 e:005986 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1446 p:---- s:5981 e:005980 CFUNC  :call
c:1445 p:0012 s:5977 e:005976 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1444 p:---- s:5974 e:005973 CFUNC  :each
c:1443 p:0030 s:5971 e:005970 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1442 p:0062 s:5966 e:005965 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1441 p:0012 s:5959 e:005958 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1440 p:0007 s:5955 E:001010 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1439 p:0007 s:5952 e:005951 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1438 p:0021 s:5948 e:005947 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1437 p:0010 s:5944 e:005943 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1436 p:0010 s:5940 e:005939 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1435 p:0014 s:5938 e:005937 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1434 p:0069 s:5936 e:005935 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1433 p:0017 s:5932 e:005931 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1432 p:0014 s:5927 E:000358 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1431 p:0007 s:5923 E:0002f8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1430 p:0016 s:5919 e:005918 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1429 p:0012 s:5916 e:005915 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1428 p:---- s:5911 e:005910 CFUNC  :call
c:1427 p:0050 s:5906 e:005905 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1426 p:---- s:5900 e:005899 CFUNC  :call
c:1425 p:0012 s:5896 e:005895 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1424 p:---- s:5893 e:005892 CFUNC  :each
c:1423 p:0030 s:5890 e:005889 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1422 p:0062 s:5885 e:005884 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1421 p:0012 s:5878 e:005877 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1420 p:0007 s:5874 E:001f20 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1419 p:0007 s:5871 e:005870 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1418 p:0021 s:5867 e:005866 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1417 p:0010 s:5863 e:005862 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1416 p:0010 s:5859 e:005858 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1415 p:0014 s:5857 e:005856 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1414 p:0069 s:5855 e:005854 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1413 p:0017 s:5851 e:005850 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1412 p:0014 s:5846 E:001408 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1411 p:0007 s:5842 E:0013a8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1410 p:0016 s:5838 e:005837 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1409 p:0012 s:5835 e:005834 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1408 p:---- s:5830 e:005829 CFUNC  :call
c:1407 p:0050 s:5825 e:005824 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1406 p:---- s:5819 e:005818 CFUNC  :call
c:1405 p:0012 s:5815 e:005814 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1404 p:---- s:5812 e:005811 CFUNC  :each
c:1403 p:0030 s:5809 e:005808 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1402 p:0062 s:5804 e:005803 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1401 p:0012 s:5797 e:005796 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1400 p:0007 s:5793 E:0001c0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1399 p:0007 s:5790 e:005789 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1398 p:0021 s:5786 e:005785 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1397 p:0010 s:5782 e:005781 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1396 p:0010 s:5778 e:005777 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1395 p:0014 s:5776 e:005775 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1394 p:0069 s:5774 e:005773 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1393 p:0017 s:5770 e:005769 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1392 p:0014 s:5765 E:001c18 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1391 p:0007 s:5761 E:001bb8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1390 p:0016 s:5757 e:005756 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1389 p:0012 s:5754 e:005753 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1388 p:---- s:5749 e:005748 CFUNC  :call
c:1387 p:0050 s:5744 e:005743 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1386 p:---- s:5738 e:005737 CFUNC  :call
c:1385 p:0012 s:5734 e:005733 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1384 p:---- s:5731 e:005730 CFUNC  :each
c:1383 p:0030 s:5728 e:005727 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1382 p:0062 s:5723 e:005722 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1381 p:0012 s:5716 e:005715 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1380 p:0007 s:5712 E:000720 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1379 p:0007 s:5709 e:005708 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1378 p:0021 s:5705 e:005704 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1377 p:0010 s:5701 e:005700 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1376 p:0010 s:5697 e:005696 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1375 p:0014 s:5695 e:005694 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1374 p:0069 s:5693 e:005692 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1373 p:0017 s:5689 e:005688 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1372 p:0014 s:5684 E:002618 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1371 p:0007 s:5680 E:0025b8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1370 p:0016 s:5676 e:005675 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1369 p:0012 s:5673 e:005672 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1368 p:---- s:5668 e:005667 CFUNC  :call
c:1367 p:0050 s:5663 e:005662 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1366 p:---- s:5657 e:005656 CFUNC  :call
c:1365 p:0012 s:5653 e:005652 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1364 p:---- s:5650 e:005649 CFUNC  :each
c:1363 p:0030 s:5647 e:005646 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1362 p:0062 s:5642 e:005641 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1361 p:0012 s:5635 e:005634 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1360 p:0007 s:5631 E:0022d0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1359 p:0007 s:5628 e:005627 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1358 p:0021 s:5624 e:005623 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1357 p:0010 s:5620 e:005619 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1356 p:0010 s:5616 e:005615 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1355 p:0014 s:5614 e:005613 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1354 p:0069 s:5612 e:005611 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1353 p:0017 s:5608 e:005607 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1352 p:0014 s:5603 E:000c88 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1351 p:0007 s:5599 E:000c28 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1350 p:0016 s:5595 e:005594 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1349 p:0012 s:5592 e:005591 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1348 p:---- s:5587 e:005586 CFUNC  :call
c:1347 p:0050 s:5582 e:005581 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1346 p:---- s:5576 e:005575 CFUNC  :call
c:1345 p:0012 s:5572 e:005571 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1344 p:---- s:5569 e:005568 CFUNC  :each
c:1343 p:0030 s:5566 e:005565 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1342 p:0062 s:5561 e:005560 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1341 p:0012 s:5554 e:005553 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1340 p:0007 s:5550 E:000e80 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1339 p:0007 s:5547 e:005546 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1338 p:0021 s:5543 e:005542 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1337 p:0010 s:5539 e:005538 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1336 p:0010 s:5535 e:005534 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1335 p:0014 s:5533 e:005532 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1334 p:0069 s:5531 e:005530 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1333 p:0017 s:5527 e:005526 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1332 p:0014 s:5522 E:0008e8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1331 p:0007 s:5518 E:000888 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1330 p:0016 s:5514 e:005513 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1329 p:0012 s:5511 e:005510 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1328 p:---- s:5506 e:005505 CFUNC  :call
c:1327 p:0050 s:5501 e:005500 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1326 p:---- s:5495 e:005494 CFUNC  :call
c:1325 p:0012 s:5491 e:005490 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1324 p:---- s:5488 e:005487 CFUNC  :each
c:1323 p:0030 s:5485 e:005484 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1322 p:0062 s:5480 e:005479 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1321 p:0012 s:5473 e:005472 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1320 p:0007 s:5469 E:000ae0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1319 p:0007 s:5466 e:005465 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1318 p:0021 s:5462 e:005461 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1317 p:0010 s:5458 e:005457 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1316 p:0010 s:5454 e:005453 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1315 p:0014 s:5452 e:005451 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1314 p:0069 s:5450 e:005449 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1313 p:0017 s:5446 e:005445 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1312 p:0014 s:5441 E:001c28 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1311 p:0007 s:5437 E:001bc8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1310 p:0016 s:5433 e:005432 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1309 p:0012 s:5430 e:005429 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1308 p:---- s:5425 e:005424 CFUNC  :call
c:1307 p:0050 s:5420 e:005419 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1306 p:---- s:5414 e:005413 CFUNC  :call
c:1305 p:0012 s:5410 e:005409 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1304 p:---- s:5407 e:005406 CFUNC  :each
c:1303 p:0030 s:5404 e:005403 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1302 p:0062 s:5399 e:005398 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1301 p:0012 s:5392 e:005391 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1300 p:0007 s:5388 E:001e20 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1299 p:0007 s:5385 e:005384 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1298 p:0021 s:5381 e:005380 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1297 p:0010 s:5377 e:005376 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1296 p:0010 s:5373 e:005372 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1295 p:0014 s:5371 e:005370 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1294 p:0069 s:5369 e:005368 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1293 p:0017 s:5365 e:005364 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1292 p:0014 s:5360 E:002008 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1291 p:0007 s:5356 E:001fa8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1290 p:0016 s:5352 e:005351 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1289 p:0012 s:5349 e:005348 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1288 p:---- s:5344 e:005343 CFUNC  :call
c:1287 p:0050 s:5339 e:005338 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1286 p:---- s:5333 e:005332 CFUNC  :call
c:1285 p:0012 s:5329 e:005328 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1284 p:---- s:5326 e:005325 CFUNC  :each
c:1283 p:0030 s:5323 e:005322 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1282 p:0062 s:5318 e:005317 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1281 p:0012 s:5311 e:005310 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1280 p:0007 s:5307 E:002200 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1279 p:0007 s:5304 e:005303 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1278 p:0021 s:5300 e:005299 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1277 p:0010 s:5296 e:005295 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1276 p:0010 s:5292 e:005291 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1275 p:0014 s:5290 e:005289 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1274 p:0069 s:5288 e:005287 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1273 p:0017 s:5284 e:005283 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1272 p:0014 s:5279 E:001278 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1271 p:0007 s:5275 E:001218 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1270 p:0016 s:5271 e:005270 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1269 p:0012 s:5268 e:005267 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1268 p:---- s:5263 e:005262 CFUNC  :call
c:1267 p:0050 s:5258 e:005257 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1266 p:---- s:5252 e:005251 CFUNC  :call
c:1265 p:0012 s:5248 e:005247 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1264 p:---- s:5245 e:005244 CFUNC  :each
c:1263 p:0030 s:5242 e:005241 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1262 p:0062 s:5237 e:005236 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1261 p:0012 s:5230 e:005229 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1260 p:0007 s:5226 E:0014c0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1259 p:0007 s:5223 e:005222 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1258 p:0021 s:5219 e:005218 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1257 p:0010 s:5215 e:005214 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1256 p:0010 s:5211 e:005210 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1255 p:0014 s:5209 e:005208 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1254 p:0069 s:5207 e:005206 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1253 p:0017 s:5203 e:005202 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1252 p:0014 s:5198 E:001e88 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1251 p:0007 s:5194 E:001e28 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1250 p:0016 s:5190 e:005189 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1249 p:0012 s:5187 e:005186 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1248 p:---- s:5182 e:005181 CFUNC  :call
c:1247 p:0050 s:5177 e:005176 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1246 p:---- s:5171 e:005170 CFUNC  :call
c:1245 p:0012 s:5167 e:005166 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1244 p:---- s:5164 e:005163 CFUNC  :each
c:1243 p:0030 s:5161 e:005160 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1242 p:0062 s:5156 e:005155 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1241 p:0012 s:5149 e:005148 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1240 p:0007 s:5145 E:000b10 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1239 p:0007 s:5142 e:005141 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1238 p:0021 s:5138 e:005137 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1237 p:0010 s:5134 e:005133 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1236 p:0010 s:5130 e:005129 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1235 p:0014 s:5128 e:005127 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1234 p:0069 s:5126 e:005125 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1233 p:0017 s:5122 e:005121 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1232 p:0014 s:5117 E:001ab8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1231 p:0007 s:5113 E:001218 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1230 p:0016 s:5109 e:005108 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1229 p:0012 s:5106 e:005105 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1228 p:---- s:5101 e:005100 CFUNC  :call
c:1227 p:0050 s:5096 e:005095 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1226 p:---- s:5090 e:005089 CFUNC  :call
c:1225 p:0012 s:5086 e:005085 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1224 p:---- s:5083 e:005082 CFUNC  :each
c:1223 p:0030 s:5080 e:005079 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1222 p:0062 s:5075 e:005074 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1221 p:0012 s:5068 e:005067 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1220 p:0007 s:5064 E:001f60 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1219 p:0007 s:5061 e:005060 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1218 p:0021 s:5057 e:005056 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1217 p:0010 s:5053 e:005052 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1216 p:0010 s:5049 e:005048 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1215 p:0014 s:5047 e:005046 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1214 p:0069 s:5045 e:005044 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1213 p:0017 s:5041 e:005040 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1212 p:0014 s:5036 E:001b68 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1211 p:0007 s:5032 E:001b08 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1210 p:0016 s:5028 e:005027 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1209 p:0012 s:5025 e:005024 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1208 p:---- s:5020 e:005019 CFUNC  :call
c:1207 p:0050 s:5015 e:005014 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1206 p:---- s:5009 e:005008 CFUNC  :call
c:1205 p:0012 s:5005 e:005004 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1204 p:---- s:5002 e:005001 CFUNC  :each
c:1203 p:0030 s:4999 e:004998 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1202 p:0062 s:4994 e:004993 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1201 p:0012 s:4987 e:004986 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1200 p:0007 s:4983 E:0014c0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1199 p:0007 s:4980 e:004979 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1198 p:0021 s:4976 e:004975 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1197 p:0010 s:4972 e:004971 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1196 p:0010 s:4968 e:004967 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1195 p:0014 s:4966 e:004965 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1194 p:0069 s:4964 e:004963 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1193 p:0017 s:4960 e:004959 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1192 p:0014 s:4955 E:0008f8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1191 p:0007 s:4951 E:000898 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1190 p:0016 s:4947 e:004946 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1189 p:0012 s:4944 e:004943 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1188 p:---- s:4939 e:004938 CFUNC  :call
c:1187 p:0050 s:4934 e:004933 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1186 p:---- s:4928 e:004927 CFUNC  :call
c:1185 p:0012 s:4924 e:004923 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1184 p:---- s:4921 e:004920 CFUNC  :each
c:1183 p:0030 s:4918 e:004917 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1182 p:0062 s:4913 e:004912 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1181 p:0012 s:4906 e:004905 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1180 p:0007 s:4902 E:000fa0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1179 p:0007 s:4899 e:004898 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1178 p:0021 s:4895 e:004894 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1177 p:0010 s:4891 e:004890 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1176 p:0010 s:4887 e:004886 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1175 p:0014 s:4885 e:004884 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1174 p:0069 s:4883 e:004882 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1173 p:0017 s:4879 e:004878 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1172 p:0014 s:4874 E:000658 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1171 p:0007 s:4870 E:0005f8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1170 p:0016 s:4866 e:004865 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1169 p:0012 s:4863 e:004862 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1168 p:---- s:4858 e:004857 CFUNC  :call
c:1167 p:0050 s:4853 e:004852 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1166 p:---- s:4847 e:004846 CFUNC  :call
c:1165 p:0012 s:4843 e:004842 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1164 p:---- s:4840 e:004839 CFUNC  :each
c:1163 p:0030 s:4837 e:004836 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1162 p:0062 s:4832 e:004831 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1161 p:0012 s:4825 e:004824 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1160 p:0007 s:4821 E:0012e0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1159 p:0007 s:4818 e:004817 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1158 p:0021 s:4814 e:004813 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1157 p:0010 s:4810 e:004809 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1156 p:0010 s:4806 e:004805 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1155 p:0014 s:4804 e:004803 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1154 p:0069 s:4802 e:004801 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1153 p:0017 s:4798 e:004797 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1152 p:0014 s:4793 E:0026f8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1151 p:0007 s:4789 E:002698 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1150 p:0016 s:4785 e:004784 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1149 p:0012 s:4782 e:004781 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1148 p:---- s:4777 e:004776 CFUNC  :call
c:1147 p:0050 s:4772 e:004771 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1146 p:---- s:4766 e:004765 CFUNC  :call
c:1145 p:0012 s:4762 e:004761 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1144 p:---- s:4759 e:004758 CFUNC  :each
c:1143 p:0030 s:4756 e:004755 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1142 p:0062 s:4751 e:004750 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1141 p:0012 s:4744 e:004743 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1140 p:0007 s:4740 E:001fe0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1139 p:0007 s:4737 e:004736 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1138 p:0021 s:4733 e:004732 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1137 p:0010 s:4729 e:004728 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1136 p:0010 s:4725 e:004724 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1135 p:0014 s:4723 e:004722 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1134 p:0069 s:4721 e:004720 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1133 p:0017 s:4717 e:004716 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1132 p:0014 s:4712 E:000238 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1131 p:0007 s:4708 E:0001d8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1130 p:0016 s:4704 e:004703 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1129 p:0012 s:4701 e:004700 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1128 p:---- s:4696 e:004695 CFUNC  :call
c:1127 p:0050 s:4691 e:004690 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1126 p:---- s:4685 e:004684 CFUNC  :call
c:1125 p:0012 s:4681 e:004680 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1124 p:---- s:4678 e:004677 CFUNC  :each
c:1123 p:0030 s:4675 e:004674 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1122 p:0062 s:4670 e:004669 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1121 p:0012 s:4663 e:004662 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1120 p:0007 s:4659 E:0017c0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1119 p:0007 s:4656 e:004655 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1118 p:0021 s:4652 e:004651 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1117 p:0010 s:4648 e:004647 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1116 p:0010 s:4644 e:004643 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1115 p:0014 s:4642 e:004641 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1114 p:0069 s:4640 e:004639 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1113 p:0017 s:4636 e:004635 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1112 p:0014 s:4631 E:000108 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1111 p:0007 s:4627 E:0024b8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1110 p:0016 s:4623 e:004622 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1109 p:0012 s:4620 e:004619 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1108 p:---- s:4615 e:004614 CFUNC  :call
c:1107 p:0050 s:4610 e:004609 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1106 p:---- s:4604 e:004603 CFUNC  :call
c:1105 p:0012 s:4600 e:004599 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1104 p:---- s:4597 e:004596 CFUNC  :each
c:1103 p:0030 s:4594 e:004593 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1102 p:0062 s:4589 e:004588 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1101 p:0012 s:4582 e:004581 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1100 p:0007 s:4578 E:001700 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1099 p:0007 s:4575 e:004574 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1098 p:0021 s:4571 e:004570 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1097 p:0010 s:4567 e:004566 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1096 p:0010 s:4563 e:004562 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1095 p:0014 s:4561 e:004560 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1094 p:0069 s:4559 e:004558 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1093 p:0017 s:4555 e:004554 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1092 p:0014 s:4550 E:001748 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1091 p:0007 s:4546 E:0017b8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1090 p:0016 s:4542 e:004541 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1089 p:0012 s:4539 e:004538 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1088 p:---- s:4534 e:004533 CFUNC  :call
c:1087 p:0050 s:4529 e:004528 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1086 p:---- s:4523 e:004522 CFUNC  :call
c:1085 p:0012 s:4519 e:004518 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1084 p:---- s:4516 e:004515 CFUNC  :each
c:1083 p:0030 s:4513 e:004512 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1082 p:0062 s:4508 e:004507 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1081 p:0012 s:4501 e:004500 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1080 p:0007 s:4497 E:001f00 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1079 p:0007 s:4494 e:004493 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1078 p:0021 s:4490 e:004489 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1077 p:0010 s:4486 e:004485 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1076 p:0010 s:4482 e:004481 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1075 p:0014 s:4480 e:004479 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1074 p:0069 s:4478 e:004477 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1073 p:0017 s:4474 e:004473 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1072 p:0014 s:4469 E:001468 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1071 p:0007 s:4465 E:001408 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1070 p:0016 s:4461 e:004460 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1069 p:0012 s:4458 e:004457 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1068 p:---- s:4453 e:004452 CFUNC  :call
c:1067 p:0050 s:4448 e:004447 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1066 p:---- s:4442 e:004441 CFUNC  :call
c:1065 p:0012 s:4438 e:004437 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1064 p:---- s:4435 e:004434 CFUNC  :each
c:1063 p:0030 s:4432 e:004431 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1062 p:0062 s:4427 e:004426 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1061 p:0012 s:4420 e:004419 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1060 p:0007 s:4416 E:001770 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1059 p:0007 s:4413 e:004412 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1058 p:0021 s:4409 e:004408 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1057 p:0010 s:4405 e:004404 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1056 p:0010 s:4401 e:004400 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1055 p:0014 s:4399 e:004398 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1054 p:0069 s:4397 e:004396 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1053 p:0017 s:4393 e:004392 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1052 p:0014 s:4388 E:000838 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1051 p:0007 s:4384 E:0007d8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1050 p:0016 s:4380 e:004379 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1049 p:0012 s:4377 e:004376 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1048 p:---- s:4372 e:004371 CFUNC  :call
c:1047 p:0050 s:4367 e:004366 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1046 p:---- s:4361 e:004360 CFUNC  :call
c:1045 p:0012 s:4357 e:004356 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1044 p:---- s:4354 e:004353 CFUNC  :each
c:1043 p:0030 s:4351 e:004350 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1042 p:0062 s:4346 e:004345 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1041 p:0012 s:4339 e:004338 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1040 p:0007 s:4335 E:0018e0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1039 p:0007 s:4332 e:004331 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1038 p:0021 s:4328 e:004327 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1037 p:0010 s:4324 e:004323 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1036 p:0010 s:4320 e:004319 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1035 p:0014 s:4318 e:004317 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1034 p:0069 s:4316 e:004315 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1033 p:0017 s:4312 e:004311 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1032 p:0014 s:4307 E:002418 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1031 p:0007 s:4303 E:0023b8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1030 p:0016 s:4299 e:004298 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1029 p:0012 s:4296 e:004295 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1028 p:---- s:4291 e:004290 CFUNC  :call
c:1027 p:0050 s:4286 e:004285 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1026 p:---- s:4280 e:004279 CFUNC  :call
c:1025 p:0012 s:4276 e:004275 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1024 p:---- s:4273 e:004272 CFUNC  :each
c:1023 p:0030 s:4270 e:004269 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1022 p:0062 s:4265 e:004264 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1021 p:0012 s:4258 e:004257 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1020 p:0007 s:4254 E:000710 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:1019 p:0007 s:4251 e:004250 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:1018 p:0021 s:4247 e:004246 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:1017 p:0010 s:4243 e:004242 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:1016 p:0010 s:4239 e:004238 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1015 p:0014 s:4237 e:004236 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:1014 p:0069 s:4235 e:004234 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:1013 p:0017 s:4231 e:004230 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:1012 p:0014 s:4226 E:0017a8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:1011 p:0007 s:4222 E:001748 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:1010 p:0016 s:4218 e:004217 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:1009 p:0012 s:4215 e:004214 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:1008 p:---- s:4210 e:004209 CFUNC  :call
c:1007 p:0050 s:4205 e:004204 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:1006 p:---- s:4199 e:004198 CFUNC  :call
c:1005 p:0012 s:4195 e:004194 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:1004 p:---- s:4192 e:004191 CFUNC  :each
c:1003 p:0030 s:4189 e:004188 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:1002 p:0062 s:4184 e:004183 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:1001 p:0012 s:4177 e:004176 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:1000 p:0007 s:4173 E:001370 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0999 p:0007 s:4170 e:004169 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0998 p:0021 s:4166 e:004165 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0997 p:0010 s:4162 e:004161 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0996 p:0010 s:4158 e:004157 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0995 p:0014 s:4156 e:004155 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0994 p:0069 s:4154 e:004153 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0993 p:0017 s:4150 e:004149 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0992 p:0014 s:4145 E:000ba8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0991 p:0007 s:4141 E:000b48 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0990 p:0016 s:4137 e:004136 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0989 p:0012 s:4134 e:004133 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0988 p:---- s:4129 e:004128 CFUNC  :call
c:0987 p:0050 s:4124 e:004123 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0986 p:---- s:4118 e:004117 CFUNC  :call
c:0985 p:0012 s:4114 e:004113 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0984 p:---- s:4111 e:004110 CFUNC  :each
c:0983 p:0030 s:4108 e:004107 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0982 p:0062 s:4103 e:004102 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0981 p:0012 s:4096 e:004095 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0980 p:0007 s:4092 E:002440 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0979 p:0007 s:4089 e:004088 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0978 p:0021 s:4085 e:004084 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0977 p:0010 s:4081 e:004080 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0976 p:0010 s:4077 e:004076 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0975 p:0014 s:4075 e:004074 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0974 p:0069 s:4073 e:004072 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0973 p:0017 s:4069 e:004068 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0972 p:0014 s:4064 E:0021b8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0971 p:0007 s:4060 E:002158 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0970 p:0016 s:4056 e:004055 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0969 p:0012 s:4053 e:004052 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0968 p:---- s:4048 e:004047 CFUNC  :call
c:0967 p:0050 s:4043 e:004042 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0966 p:---- s:4037 e:004036 CFUNC  :call
c:0965 p:0012 s:4033 e:004032 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0964 p:---- s:4030 e:004029 CFUNC  :each
c:0963 p:0030 s:4027 e:004026 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0962 p:0062 s:4022 e:004021 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0961 p:0012 s:4015 e:004014 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0960 p:0007 s:4011 E:0018e0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0959 p:0007 s:4008 e:004007 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0958 p:0021 s:4004 e:004003 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0957 p:0010 s:4000 e:003999 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0956 p:0010 s:3996 e:003995 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0955 p:0014 s:3994 e:003993 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0954 p:0069 s:3992 e:003991 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0953 p:0017 s:3988 e:003987 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0952 p:0014 s:3983 E:0024f8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0951 p:0007 s:3979 E:000c38 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0950 p:0016 s:3975 e:003974 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0949 p:0012 s:3972 e:003971 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0948 p:---- s:3967 e:003966 CFUNC  :call
c:0947 p:0050 s:3962 e:003961 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0946 p:---- s:3956 e:003955 CFUNC  :call
c:0945 p:0012 s:3952 e:003951 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0944 p:---- s:3949 e:003948 CFUNC  :each
c:0943 p:0030 s:3946 e:003945 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0942 p:0062 s:3941 e:003940 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0941 p:0012 s:3934 e:003933 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0940 p:0007 s:3930 E:000000 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0939 p:0007 s:3927 e:003926 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0938 p:0021 s:3923 e:003922 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0937 p:0010 s:3919 e:003918 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0936 p:0010 s:3915 e:003914 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0935 p:0014 s:3913 e:003912 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0934 p:0069 s:3911 e:003910 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0933 p:0017 s:3907 e:003906 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0932 p:0014 s:3902 E:0022c8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0931 p:0007 s:3898 E:002268 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0930 p:0016 s:3894 e:003893 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0929 p:0012 s:3891 e:003890 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0928 p:---- s:3886 e:003885 CFUNC  :call
c:0927 p:0050 s:3881 e:003880 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0926 p:---- s:3875 e:003874 CFUNC  :call
c:0925 p:0012 s:3871 e:003870 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0924 p:---- s:3868 e:003867 CFUNC  :each
c:0923 p:0030 s:3865 e:003864 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0922 p:0062 s:3860 e:003859 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0921 p:0012 s:3853 e:003852 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0920 p:0007 s:3849 E:001a40 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0919 p:0007 s:3846 e:003845 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0918 p:0021 s:3842 e:003841 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0917 p:0010 s:3838 e:003837 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0916 p:0010 s:3834 e:003833 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0915 p:0014 s:3832 e:003831 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0914 p:0069 s:3830 e:003829 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0913 p:0017 s:3826 e:003825 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0912 p:0014 s:3821 E:000c48 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0911 p:0007 s:3817 E:000da8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0910 p:0016 s:3813 e:003812 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0909 p:0012 s:3810 e:003809 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0908 p:---- s:3805 e:003804 CFUNC  :call
c:0907 p:0050 s:3800 e:003799 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0906 p:---- s:3794 e:003793 CFUNC  :call
c:0905 p:0012 s:3790 e:003789 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0904 p:---- s:3787 e:003786 CFUNC  :each
c:0903 p:0030 s:3784 e:003783 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0902 p:0062 s:3779 e:003778 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0901 p:0012 s:3772 e:003771 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0900 p:0007 s:3768 E:001d30 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0899 p:0007 s:3765 e:003764 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0898 p:0021 s:3761 e:003760 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0897 p:0010 s:3757 e:003756 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0896 p:0010 s:3753 e:003752 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0895 p:0014 s:3751 e:003750 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0894 p:0069 s:3749 e:003748 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0893 p:0017 s:3745 e:003744 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0892 p:0014 s:3740 E:0003a8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0891 p:0007 s:3736 E:0014a8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0890 p:0016 s:3732 e:003731 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0889 p:0012 s:3729 e:003728 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0888 p:---- s:3724 e:003723 CFUNC  :call
c:0887 p:0050 s:3719 e:003718 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0886 p:---- s:3713 e:003712 CFUNC  :call
c:0885 p:0012 s:3709 e:003708 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0884 p:---- s:3706 e:003705 CFUNC  :each
c:0883 p:0030 s:3703 e:003702 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0882 p:0062 s:3698 e:003697 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0881 p:0012 s:3691 e:003690 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0880 p:0007 s:3687 E:000310 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0879 p:0007 s:3684 e:003683 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0878 p:0021 s:3680 e:003679 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0877 p:0010 s:3676 e:003675 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0876 p:0010 s:3672 e:003671 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0875 p:0014 s:3670 e:003669 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0874 p:0069 s:3668 e:003667 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0873 p:0017 s:3664 e:003663 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0872 p:0014 s:3659 E:001d78 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0871 p:0007 s:3655 E:001b08 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0870 p:0016 s:3651 e:003650 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0869 p:0012 s:3648 e:003647 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0868 p:---- s:3643 e:003642 CFUNC  :call
c:0867 p:0050 s:3638 e:003637 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0866 p:---- s:3632 e:003631 CFUNC  :call
c:0865 p:0012 s:3628 e:003627 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0864 p:---- s:3625 e:003624 CFUNC  :each
c:0863 p:0030 s:3622 e:003621 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0862 p:0062 s:3617 e:003616 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0861 p:0012 s:3610 e:003609 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0860 p:0007 s:3606 E:001740 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0859 p:0007 s:3603 e:003602 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0858 p:0021 s:3599 e:003598 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0857 p:0010 s:3595 e:003594 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0856 p:0010 s:3591 e:003590 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0855 p:0014 s:3589 e:003588 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0854 p:0069 s:3587 e:003586 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0853 p:0017 s:3583 e:003582 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0852 p:0014 s:3578 E:0010b8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0851 p:0007 s:3574 E:001638 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0850 p:0016 s:3570 e:003569 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0849 p:0012 s:3567 e:003566 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0848 p:---- s:3562 e:003561 CFUNC  :call
c:0847 p:0050 s:3557 e:003556 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0846 p:---- s:3551 e:003550 CFUNC  :call
c:0845 p:0012 s:3547 e:003546 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0844 p:---- s:3544 e:003543 CFUNC  :each
c:0843 p:0030 s:3541 e:003540 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0842 p:0062 s:3536 e:003535 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0841 p:0012 s:3529 e:003528 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0840 p:0007 s:3525 E:002270 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0839 p:0007 s:3522 e:003521 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0838 p:0021 s:3518 e:003517 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0837 p:0010 s:3514 e:003513 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0836 p:0010 s:3510 e:003509 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0835 p:0014 s:3508 e:003507 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0834 p:0069 s:3506 e:003505 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0833 p:0017 s:3502 e:003501 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0832 p:0014 s:3497 E:002018 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0831 p:0007 s:3493 E:001038 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0830 p:0016 s:3489 e:003488 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0829 p:0012 s:3486 e:003485 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0828 p:---- s:3481 e:003480 CFUNC  :call
c:0827 p:0050 s:3476 e:003475 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0826 p:---- s:3470 e:003469 CFUNC  :call
c:0825 p:0012 s:3466 e:003465 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0824 p:---- s:3463 e:003462 CFUNC  :each
c:0823 p:0030 s:3460 e:003459 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0822 p:0062 s:3455 e:003454 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0821 p:0012 s:3448 e:003447 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0820 p:0007 s:3444 E:001c50 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0819 p:0007 s:3441 e:003440 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0818 p:0021 s:3437 e:003436 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0817 p:0010 s:3433 e:003432 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0816 p:0010 s:3429 e:003428 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0815 p:0014 s:3427 e:003426 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0814 p:0069 s:3425 e:003424 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0813 p:0017 s:3421 e:003420 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0812 p:0014 s:3416 E:000f98 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0811 p:0007 s:3412 E:001878 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0810 p:0016 s:3408 e:003407 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0809 p:0012 s:3405 e:003404 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0808 p:---- s:3400 e:003399 CFUNC  :call
c:0807 p:0050 s:3395 e:003394 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0806 p:---- s:3389 e:003388 CFUNC  :call
c:0805 p:0012 s:3385 e:003384 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0804 p:---- s:3382 e:003381 CFUNC  :each
c:0803 p:0030 s:3379 e:003378 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0802 p:0062 s:3374 e:003373 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0801 p:0012 s:3367 e:003366 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0800 p:0007 s:3363 E:000470 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0799 p:0007 s:3360 e:003359 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0798 p:0021 s:3356 e:003355 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0797 p:0010 s:3352 e:003351 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0796 p:0010 s:3348 e:003347 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0795 p:0014 s:3346 e:003345 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0794 p:0069 s:3344 e:003343 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0793 p:0017 s:3340 e:003339 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0792 p:0014 s:3335 E:001578 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0791 p:0007 s:3331 E:0001c8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0790 p:0016 s:3327 e:003326 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0789 p:0012 s:3324 e:003323 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0788 p:---- s:3319 e:003318 CFUNC  :call
c:0787 p:0050 s:3314 e:003313 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0786 p:---- s:3308 e:003307 CFUNC  :call
c:0785 p:0012 s:3304 e:003303 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0784 p:---- s:3301 e:003300 CFUNC  :each
c:0783 p:0030 s:3298 e:003297 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0782 p:0062 s:3293 e:003292 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0781 p:0012 s:3286 e:003285 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0780 p:0007 s:3282 E:000bc0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0779 p:0007 s:3279 e:003278 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0778 p:0021 s:3275 e:003274 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0777 p:0010 s:3271 e:003270 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0776 p:0010 s:3267 e:003266 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0775 p:0014 s:3265 e:003264 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0774 p:0069 s:3263 e:003262 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0773 p:0017 s:3259 e:003258 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0772 p:0014 s:3254 E:000ae8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0771 p:0007 s:3250 E:000a88 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0770 p:0016 s:3246 e:003245 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0769 p:0012 s:3243 e:003242 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0768 p:---- s:3238 e:003237 CFUNC  :call
c:0767 p:0050 s:3233 e:003232 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0766 p:---- s:3227 e:003226 CFUNC  :call
c:0765 p:0012 s:3223 e:003222 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0764 p:---- s:3220 e:003219 CFUNC  :each
c:0763 p:0030 s:3217 e:003216 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0762 p:0062 s:3212 e:003211 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0761 p:0012 s:3205 e:003204 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0760 p:0007 s:3201 E:001d90 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0759 p:0007 s:3198 e:003197 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0758 p:0021 s:3194 e:003193 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0757 p:0010 s:3190 e:003189 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0756 p:0010 s:3186 e:003185 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0755 p:0014 s:3184 e:003183 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0754 p:0069 s:3182 e:003181 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0753 p:0017 s:3178 e:003177 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0752 p:0014 s:3173 E:002638 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0751 p:0007 s:3169 E:0025d8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0750 p:0016 s:3165 e:003164 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0749 p:0012 s:3162 e:003161 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0748 p:---- s:3157 e:003156 CFUNC  :call
c:0747 p:0050 s:3152 e:003151 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0746 p:---- s:3146 e:003145 CFUNC  :call
c:0745 p:0012 s:3142 e:003141 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0744 p:---- s:3139 e:003138 CFUNC  :each
c:0743 p:0030 s:3136 e:003135 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0742 p:0062 s:3131 e:003130 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0741 p:0012 s:3124 e:003123 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0740 p:0007 s:3120 E:000910 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0739 p:0007 s:3117 e:003116 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0738 p:0021 s:3113 e:003112 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0737 p:0010 s:3109 e:003108 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0736 p:0010 s:3105 e:003104 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0735 p:0014 s:3103 e:003102 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0734 p:0069 s:3101 e:003100 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0733 p:0017 s:3097 e:003096 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0732 p:0014 s:3092 E:001258 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0731 p:0007 s:3088 E:0011f8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0730 p:0016 s:3084 e:003083 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0729 p:0012 s:3081 e:003080 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0728 p:---- s:3076 e:003075 CFUNC  :call
c:0727 p:0050 s:3071 e:003070 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0726 p:---- s:3065 e:003064 CFUNC  :call
c:0725 p:0012 s:3061 e:003060 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0724 p:---- s:3058 e:003057 CFUNC  :each
c:0723 p:0030 s:3055 e:003054 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0722 p:0062 s:3050 e:003049 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0721 p:0012 s:3043 e:003042 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0720 p:0007 s:3039 E:0006c0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0719 p:0007 s:3036 e:003035 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0718 p:0021 s:3032 e:003031 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0717 p:0010 s:3028 e:003027 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0716 p:0010 s:3024 e:003023 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0715 p:0014 s:3022 e:003021 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0714 p:0069 s:3020 e:003019 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0713 p:0017 s:3016 e:003015 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0712 p:0014 s:3011 E:0020b8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0711 p:0007 s:3007 E:0009f8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0710 p:0016 s:3003 e:003002 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0709 p:0012 s:3000 e:002999 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0708 p:---- s:2995 e:002994 CFUNC  :call
c:0707 p:0050 s:2990 e:002989 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0706 p:---- s:2984 e:002983 CFUNC  :call
c:0705 p:0012 s:2980 e:002979 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0704 p:---- s:2977 e:002976 CFUNC  :each
c:0703 p:0030 s:2974 e:002973 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0702 p:0062 s:2969 e:002968 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0701 p:0012 s:2962 e:002961 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0700 p:0007 s:2958 E:000e30 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0699 p:0007 s:2955 e:002954 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0698 p:0021 s:2951 e:002950 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0697 p:0010 s:2947 e:002946 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0696 p:0010 s:2943 e:002942 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0695 p:0014 s:2941 e:002940 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0694 p:0069 s:2939 e:002938 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0693 p:0017 s:2935 e:002934 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0692 p:0014 s:2930 E:0021e8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0691 p:0007 s:2926 E:000948 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0690 p:0016 s:2922 e:002921 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0689 p:0012 s:2919 e:002918 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0688 p:---- s:2914 e:002913 CFUNC  :call
c:0687 p:0050 s:2909 e:002908 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0686 p:---- s:2903 e:002902 CFUNC  :call
c:0685 p:0012 s:2899 e:002898 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0684 p:---- s:2896 e:002895 CFUNC  :each
c:0683 p:0030 s:2893 e:002892 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0682 p:0062 s:2888 e:002887 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0681 p:0012 s:2881 e:002880 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0680 p:0007 s:2877 E:001080 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0679 p:0007 s:2874 e:002873 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0678 p:0021 s:2870 e:002869 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0677 p:0010 s:2866 e:002865 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0676 p:0010 s:2862 e:002861 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0675 p:0014 s:2860 e:002859 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0674 p:0069 s:2858 e:002857 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0673 p:0017 s:2854 e:002853 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0672 p:0014 s:2849 E:000228 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0671 p:0007 s:2845 E:000388 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0670 p:0016 s:2841 e:002840 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0669 p:0012 s:2838 e:002837 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0668 p:---- s:2833 e:002832 CFUNC  :call
c:0667 p:0050 s:2828 e:002827 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0666 p:---- s:2822 e:002821 CFUNC  :call
c:0665 p:0012 s:2818 e:002817 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0664 p:---- s:2815 e:002814 CFUNC  :each
c:0663 p:0030 s:2812 e:002811 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0662 p:0062 s:2807 e:002806 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0661 p:0012 s:2800 e:002799 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0660 p:0007 s:2796 E:0022b0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0659 p:0007 s:2793 e:002792 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0658 p:0021 s:2789 e:002788 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0657 p:0010 s:2785 e:002784 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0656 p:0010 s:2781 e:002780 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0655 p:0014 s:2779 e:002778 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0654 p:0069 s:2777 e:002776 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0653 p:0017 s:2773 e:002772 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0652 p:0014 s:2768 E:000318 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0651 p:0007 s:2764 E:001848 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0650 p:0016 s:2760 e:002759 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0649 p:0012 s:2757 e:002756 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0648 p:---- s:2752 e:002751 CFUNC  :call
c:0647 p:0050 s:2747 e:002746 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0646 p:---- s:2741 e:002740 CFUNC  :call
c:0645 p:0012 s:2737 e:002736 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0644 p:---- s:2734 e:002733 CFUNC  :each
c:0643 p:0030 s:2731 e:002730 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0642 p:0062 s:2726 e:002725 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0641 p:0012 s:2719 e:002718 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0640 p:0007 s:2715 E:0007e0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0639 p:0007 s:2712 e:002711 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0638 p:0021 s:2708 e:002707 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0637 p:0010 s:2704 e:002703 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0636 p:0010 s:2700 e:002699 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0635 p:0014 s:2698 e:002697 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0634 p:0069 s:2696 e:002695 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0633 p:0017 s:2692 e:002691 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0632 p:0014 s:2687 E:001e28 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0631 p:0007 s:2683 E:001a78 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0630 p:0016 s:2679 e:002678 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0629 p:0012 s:2676 e:002675 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0628 p:---- s:2671 e:002670 CFUNC  :call
c:0627 p:0050 s:2666 e:002665 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0626 p:---- s:2660 e:002659 CFUNC  :call
c:0625 p:0012 s:2656 e:002655 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0624 p:---- s:2653 e:002652 CFUNC  :each
c:0623 p:0030 s:2650 e:002649 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0622 p:0062 s:2645 e:002644 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0621 p:0012 s:2638 e:002637 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0620 p:0007 s:2634 E:002340 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0619 p:0007 s:2631 e:002630 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0618 p:0021 s:2627 e:002626 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0617 p:0010 s:2623 e:002622 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0616 p:0010 s:2619 e:002618 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0615 p:0014 s:2617 e:002616 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0614 p:0069 s:2615 e:002614 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0613 p:0017 s:2611 e:002610 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0612 p:0014 s:2606 E:000c78 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0611 p:0007 s:2602 E:001f48 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0610 p:0016 s:2598 e:002597 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0609 p:0012 s:2595 e:002594 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0608 p:---- s:2590 e:002589 CFUNC  :call
c:0607 p:0050 s:2585 e:002584 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0606 p:---- s:2579 e:002578 CFUNC  :call
c:0605 p:0012 s:2575 e:002574 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0604 p:---- s:2572 e:002571 CFUNC  :each
c:0603 p:0030 s:2569 e:002568 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0602 p:0062 s:2564 e:002563 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0601 p:0012 s:2557 e:002556 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0600 p:0007 s:2553 E:000910 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0599 p:0007 s:2550 e:002549 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0598 p:0021 s:2546 e:002545 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0597 p:0010 s:2542 e:002541 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0596 p:0010 s:2538 e:002537 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0595 p:0014 s:2536 e:002535 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0594 p:0069 s:2534 e:002533 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0593 p:0017 s:2530 e:002529 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0592 p:0014 s:2525 E:001028 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0591 p:0007 s:2521 E:0022f8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0590 p:0016 s:2517 e:002516 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0589 p:0012 s:2514 e:002513 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0588 p:---- s:2509 e:002508 CFUNC  :call
c:0587 p:0050 s:2504 e:002503 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0586 p:---- s:2498 e:002497 CFUNC  :call
c:0585 p:0012 s:2494 e:002493 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0584 p:---- s:2491 e:002490 CFUNC  :each
c:0583 p:0030 s:2488 e:002487 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0582 p:0062 s:2483 e:002482 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0581 p:0012 s:2476 e:002475 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0580 p:0007 s:2472 E:000d80 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0579 p:0007 s:2469 e:002468 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0578 p:0021 s:2465 e:002464 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0577 p:0010 s:2461 e:002460 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0576 p:0010 s:2457 e:002456 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0575 p:0014 s:2455 e:002454 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0574 p:0069 s:2453 e:002452 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0573 p:0017 s:2449 e:002448 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0572 p:0014 s:2444 E:001748 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0571 p:0007 s:2440 E:0016e8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0570 p:0016 s:2436 e:002435 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0569 p:0012 s:2433 e:002432 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0568 p:---- s:2428 e:002427 CFUNC  :call
c:0567 p:0050 s:2423 e:002422 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0566 p:---- s:2417 e:002416 CFUNC  :call
c:0565 p:0012 s:2413 e:002412 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0564 p:---- s:2410 e:002409 CFUNC  :each
c:0563 p:0030 s:2407 e:002406 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0562 p:0062 s:2402 e:002401 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0561 p:0012 s:2395 e:002394 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0560 p:0007 s:2391 E:001db0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0559 p:0007 s:2388 e:002387 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0558 p:0021 s:2384 e:002383 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0557 p:0010 s:2380 e:002379 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0556 p:0010 s:2376 e:002375 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0555 p:0014 s:2374 e:002373 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0554 p:0069 s:2372 e:002371 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0553 p:0017 s:2368 e:002367 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0552 p:0014 s:2363 E:000788 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0551 p:0007 s:2359 E:0009c8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0550 p:0016 s:2355 e:002354 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0549 p:0012 s:2352 e:002351 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0548 p:---- s:2347 e:002346 CFUNC  :call
c:0547 p:0050 s:2342 e:002341 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0546 p:---- s:2336 e:002335 CFUNC  :call
c:0545 p:0012 s:2332 e:002331 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0544 p:---- s:2329 e:002328 CFUNC  :each
c:0543 p:0030 s:2326 e:002325 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0542 p:0062 s:2321 e:002320 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0541 p:0012 s:2314 e:002313 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0540 p:0007 s:2310 E:0022d0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0539 p:0007 s:2307 e:002306 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0538 p:0021 s:2303 e:002302 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0537 p:0010 s:2299 e:002298 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0536 p:0010 s:2295 e:002294 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0535 p:0014 s:2293 e:002292 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0534 p:0069 s:2291 e:002290 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0533 p:0017 s:2287 e:002286 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0532 p:0014 s:2282 E:000188 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0531 p:0007 s:2278 E:001648 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0530 p:0016 s:2274 e:002273 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0529 p:0012 s:2271 e:002270 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0528 p:---- s:2266 e:002265 CFUNC  :call
c:0527 p:0050 s:2261 e:002260 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0526 p:---- s:2255 e:002254 CFUNC  :call
c:0525 p:0012 s:2251 e:002250 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0524 p:---- s:2248 e:002247 CFUNC  :each
c:0523 p:0030 s:2245 e:002244 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0522 p:0062 s:2240 e:002239 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0521 p:0012 s:2233 e:002232 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0520 p:0007 s:2229 E:000310 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0519 p:0007 s:2226 e:002225 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0518 p:0021 s:2222 e:002221 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0517 p:0010 s:2218 e:002217 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0516 p:0010 s:2214 e:002213 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0515 p:0014 s:2212 e:002211 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0514 p:0069 s:2210 e:002209 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0513 p:0017 s:2206 e:002205 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0512 p:0014 s:2201 E:000038 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0511 p:0007 s:2197 E:001778 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0510 p:0016 s:2193 e:002192 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0509 p:0012 s:2190 e:002189 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0508 p:---- s:2185 e:002184 CFUNC  :call
c:0507 p:0050 s:2180 e:002179 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0506 p:---- s:2174 e:002173 CFUNC  :call
c:0505 p:0012 s:2170 e:002169 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0504 p:---- s:2167 e:002166 CFUNC  :each
c:0503 p:0030 s:2164 e:002163 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0502 p:0062 s:2159 e:002158 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0501 p:0012 s:2152 e:002151 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0500 p:0007 s:2148 E:0013c0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0499 p:0007 s:2145 e:002144 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0498 p:0021 s:2141 e:002140 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0497 p:0010 s:2137 e:002136 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0496 p:0010 s:2133 e:002132 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0495 p:0014 s:2131 e:002130 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0494 p:0069 s:2129 e:002128 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0493 p:0017 s:2125 e:002124 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0492 p:0014 s:2120 E:002148 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0491 p:0007 s:2116 E:0016d8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0490 p:0016 s:2112 e:002111 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0489 p:0012 s:2109 e:002108 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0488 p:---- s:2104 e:002103 CFUNC  :call
c:0487 p:0050 s:2099 e:002098 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0486 p:---- s:2093 e:002092 CFUNC  :call
c:0485 p:0012 s:2089 e:002088 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0484 p:---- s:2086 e:002085 CFUNC  :each
c:0483 p:0030 s:2083 e:002082 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0482 p:0062 s:2078 e:002077 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0481 p:0012 s:2071 e:002070 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0480 p:0007 s:2067 E:001ee0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0479 p:0007 s:2064 e:002063 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0478 p:0021 s:2060 e:002059 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0477 p:0010 s:2056 e:002055 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0476 p:0010 s:2052 e:002051 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0475 p:0014 s:2050 e:002049 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0474 p:0069 s:2048 e:002047 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0473 p:0017 s:2044 e:002043 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0472 p:0014 s:2039 E:001d38 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0471 p:0007 s:2035 E:000388 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0470 p:0016 s:2031 e:002030 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0469 p:0012 s:2028 e:002027 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0468 p:---- s:2023 e:002022 CFUNC  :call
c:0467 p:0050 s:2018 e:002017 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0466 p:---- s:2012 e:002011 CFUNC  :call
c:0465 p:0012 s:2008 e:002007 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0464 p:---- s:2005 e:002004 CFUNC  :each
c:0463 p:0030 s:2002 e:002001 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0462 p:0062 s:1997 e:001996 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0461 p:0012 s:1990 e:001989 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0460 p:0007 s:1986 E:0021a0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0459 p:0007 s:1983 e:001982 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0458 p:0021 s:1979 e:001978 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0457 p:0010 s:1975 e:001974 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0456 p:0010 s:1971 e:001970 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0455 p:0014 s:1969 e:001968 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0454 p:0069 s:1967 e:001966 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0453 p:0017 s:1963 e:001962 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0452 p:0014 s:1958 E:000968 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0451 p:0007 s:1954 E:000258 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0450 p:0016 s:1950 e:001949 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0449 p:0012 s:1947 e:001946 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0448 p:---- s:1942 e:001941 CFUNC  :call
c:0447 p:0050 s:1937 e:001936 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0446 p:---- s:1931 e:001930 CFUNC  :call
c:0445 p:0012 s:1927 e:001926 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0444 p:---- s:1924 e:001923 CFUNC  :each
c:0443 p:0030 s:1921 e:001920 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0442 p:0062 s:1916 e:001915 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0441 p:0012 s:1909 e:001908 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0440 p:0007 s:1905 E:0008a0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0439 p:0007 s:1902 e:001901 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0438 p:0021 s:1898 e:001897 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0437 p:0010 s:1894 e:001893 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0436 p:0010 s:1890 e:001889 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0435 p:0014 s:1888 e:001887 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0434 p:0069 s:1886 e:001885 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0433 p:0017 s:1882 e:001881 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0432 p:0014 s:1877 E:002038 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0431 p:0007 s:1873 E:000bf8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0430 p:0016 s:1869 e:001868 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0429 p:0012 s:1866 e:001865 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0428 p:---- s:1861 e:001860 CFUNC  :call
c:0427 p:0050 s:1856 e:001855 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0426 p:---- s:1850 e:001849 CFUNC  :call
c:0425 p:0012 s:1846 e:001845 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0424 p:---- s:1843 e:001842 CFUNC  :each
c:0423 p:0030 s:1840 e:001839 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0422 p:0062 s:1835 e:001834 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0421 p:0012 s:1828 e:001827 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0420 p:0007 s:1824 E:0011f0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0419 p:0007 s:1821 e:001820 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0418 p:0021 s:1817 e:001816 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0417 p:0010 s:1813 e:001812 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0416 p:0010 s:1809 e:001808 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0415 p:0014 s:1807 e:001806 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0414 p:0069 s:1805 e:001804 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0413 p:0017 s:1801 e:001800 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0412 p:0014 s:1796 E:0016b8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0411 p:0007 s:1792 E:0025f8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0410 p:0016 s:1788 e:001787 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0409 p:0012 s:1785 e:001784 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0408 p:---- s:1780 e:001779 CFUNC  :call
c:0407 p:0050 s:1775 e:001774 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0406 p:---- s:1769 e:001768 CFUNC  :call
c:0405 p:0012 s:1765 e:001764 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0404 p:---- s:1762 e:001761 CFUNC  :each
c:0403 p:0030 s:1759 e:001758 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0402 p:0062 s:1754 e:001753 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0401 p:0012 s:1747 e:001746 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0400 p:0007 s:1743 E:001df0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0399 p:0007 s:1740 e:001739 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0398 p:0021 s:1736 e:001735 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0397 p:0010 s:1732 e:001731 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0396 p:0010 s:1728 e:001727 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0395 p:0014 s:1726 e:001725 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0394 p:0069 s:1724 e:001723 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0393 p:0017 s:1720 e:001719 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0392 p:0014 s:1715 E:0013f8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0391 p:0007 s:1711 E:000c88 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0390 p:0016 s:1707 e:001706 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0389 p:0012 s:1704 e:001703 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0388 p:---- s:1699 e:001698 CFUNC  :call
c:0387 p:0050 s:1694 e:001693 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0386 p:---- s:1688 e:001687 CFUNC  :call
c:0385 p:0012 s:1684 e:001683 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0384 p:---- s:1681 e:001680 CFUNC  :each
c:0383 p:0030 s:1678 e:001677 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0382 p:0062 s:1673 e:001672 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0381 p:0012 s:1666 e:001665 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0380 p:0007 s:1662 E:0017a0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0379 p:0007 s:1659 e:001658 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0378 p:0021 s:1655 e:001654 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0377 p:0010 s:1651 e:001650 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0376 p:0010 s:1647 e:001646 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0375 p:0014 s:1645 e:001644 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0374 p:0069 s:1643 e:001642 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0373 p:0017 s:1639 e:001638 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0372 p:0014 s:1634 E:000c58 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0371 p:0007 s:1630 E:001928 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0370 p:0016 s:1626 e:001625 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0369 p:0012 s:1623 e:001622 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0368 p:---- s:1618 e:001617 CFUNC  :call
c:0367 p:0050 s:1613 e:001612 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0366 p:---- s:1607 e:001606 CFUNC  :call
c:0365 p:0012 s:1603 e:001602 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0364 p:---- s:1600 e:001599 CFUNC  :each
c:0363 p:0030 s:1597 e:001596 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0362 p:0062 s:1592 e:001591 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0361 p:0012 s:1585 e:001584 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0360 p:0007 s:1581 E:000c80 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0359 p:0007 s:1578 e:001577 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0358 p:0021 s:1574 e:001573 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0357 p:0010 s:1570 e:001569 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0356 p:0010 s:1566 e:001565 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0355 p:0014 s:1564 e:001563 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0354 p:0069 s:1562 e:001561 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0353 p:0017 s:1558 e:001557 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0352 p:0014 s:1553 E:001ce8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0351 p:0007 s:1549 E:002138 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0350 p:0016 s:1545 e:001544 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0349 p:0012 s:1542 e:001541 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0348 p:---- s:1537 e:001536 CFUNC  :call
c:0347 p:0050 s:1532 e:001531 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0346 p:---- s:1526 e:001525 CFUNC  :call
c:0345 p:0012 s:1522 e:001521 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0344 p:---- s:1519 e:001518 CFUNC  :each
c:0343 p:0030 s:1516 e:001515 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0342 p:0062 s:1511 e:001510 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0341 p:0012 s:1504 e:001503 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0340 p:0007 s:1500 E:002100 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0339 p:0007 s:1497 e:001496 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0338 p:0021 s:1493 e:001492 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0337 p:0010 s:1489 e:001488 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0336 p:0010 s:1485 e:001484 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0335 p:0014 s:1483 e:001482 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0334 p:0069 s:1481 e:001480 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0333 p:0017 s:1477 e:001476 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0332 p:0014 s:1472 E:001968 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0331 p:0007 s:1468 E:0005a8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0330 p:0016 s:1464 e:001463 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0329 p:0012 s:1461 e:001460 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0328 p:---- s:1456 e:001455 CFUNC  :call
c:0327 p:0050 s:1451 e:001450 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0326 p:---- s:1445 e:001444 CFUNC  :call
c:0325 p:0012 s:1441 e:001440 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0324 p:---- s:1438 e:001437 CFUNC  :each
c:0323 p:0030 s:1435 e:001434 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0322 p:0062 s:1430 e:001429 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0321 p:0012 s:1423 e:001422 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0320 p:0007 s:1419 E:001410 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0319 p:0007 s:1416 e:001415 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0318 p:0021 s:1412 e:001411 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0317 p:0010 s:1408 e:001407 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0316 p:0010 s:1404 e:001403 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0315 p:0014 s:1402 e:001401 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0314 p:0069 s:1400 e:001399 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0313 p:0017 s:1396 e:001395 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0312 p:0014 s:1391 E:001c78 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0311 p:0007 s:1387 E:001d38 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0310 p:0016 s:1383 e:001382 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0309 p:0012 s:1380 e:001379 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0308 p:---- s:1375 e:001374 CFUNC  :call
c:0307 p:0050 s:1370 e:001369 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0306 p:---- s:1364 e:001363 CFUNC  :call
c:0305 p:0012 s:1360 e:001359 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0304 p:---- s:1357 e:001356 CFUNC  :each
c:0303 p:0030 s:1354 e:001353 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0302 p:0062 s:1349 e:001348 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0301 p:0012 s:1342 e:001341 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0300 p:0007 s:1338 E:000b90 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0299 p:0007 s:1335 e:001334 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0298 p:0021 s:1331 e:001330 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0297 p:0010 s:1327 e:001326 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0296 p:0010 s:1323 e:001322 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0295 p:0014 s:1321 e:001320 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0294 p:0069 s:1319 e:001318 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0293 p:0017 s:1315 e:001314 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0292 p:0014 s:1310 E:000638 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0291 p:0007 s:1306 E:001918 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0290 p:0016 s:1302 e:001301 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0289 p:0012 s:1299 e:001298 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0288 p:---- s:1294 e:001293 CFUNC  :call
c:0287 p:0050 s:1289 e:001288 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0286 p:---- s:1283 e:001282 CFUNC  :call
c:0285 p:0012 s:1279 e:001278 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0284 p:---- s:1276 e:001275 CFUNC  :each
c:0283 p:0030 s:1273 e:001272 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0282 p:0062 s:1268 e:001267 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0281 p:0012 s:1261 e:001260 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0280 p:0007 s:1257 E:002480 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0279 p:0007 s:1254 e:001253 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0278 p:0021 s:1250 e:001249 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0277 p:0010 s:1246 e:001245 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0276 p:0010 s:1242 e:001241 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0275 p:0014 s:1240 e:001239 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0274 p:0069 s:1238 e:001237 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0273 p:0017 s:1234 e:001233 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0272 p:0014 s:1229 E:001918 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0271 p:0007 s:1225 E:000888 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0270 p:0016 s:1221 e:001220 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0269 p:0012 s:1218 e:001217 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0268 p:---- s:1213 e:001212 CFUNC  :call
c:0267 p:0050 s:1208 e:001207 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0266 p:---- s:1202 e:001201 CFUNC  :call
c:0265 p:0012 s:1198 e:001197 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0264 p:---- s:1195 e:001194 CFUNC  :each
c:0263 p:0030 s:1192 e:001191 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0262 p:0062 s:1187 e:001186 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0261 p:0012 s:1180 e:001179 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0260 p:0007 s:1176 E:001e30 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0259 p:0007 s:1173 e:001172 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0258 p:0021 s:1169 e:001168 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0257 p:0010 s:1165 e:001164 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0256 p:0010 s:1161 e:001160 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0255 p:0014 s:1159 e:001158 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0254 p:0069 s:1157 e:001156 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0253 p:0017 s:1153 e:001152 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0252 p:0014 s:1148 E:001778 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0251 p:0007 s:1144 E:001858 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0250 p:0016 s:1140 e:001139 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0249 p:0012 s:1137 e:001136 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0248 p:---- s:1132 e:001131 CFUNC  :call
c:0247 p:0050 s:1127 e:001126 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0246 p:---- s:1121 e:001120 CFUNC  :call
c:0245 p:0012 s:1117 e:001116 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0244 p:---- s:1114 e:001113 CFUNC  :each
c:0243 p:0030 s:1111 e:001110 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0242 p:0062 s:1106 e:001105 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0241 p:0012 s:1099 e:001098 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0240 p:0007 s:1095 E:002070 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0239 p:0007 s:1092 e:001091 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0238 p:0021 s:1088 e:001087 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0237 p:0010 s:1084 e:001083 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0236 p:0010 s:1080 e:001079 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0235 p:0014 s:1078 e:001077 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0234 p:0069 s:1076 e:001075 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0233 p:0017 s:1072 e:001071 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0232 p:0014 s:1067 E:001248 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0231 p:0007 s:1063 E:0011e8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0230 p:0016 s:1059 e:001058 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0229 p:0012 s:1056 e:001055 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0228 p:---- s:1051 e:001050 CFUNC  :call
c:0227 p:0050 s:1046 e:001045 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0226 p:---- s:1040 e:001039 CFUNC  :call
c:0225 p:0012 s:1036 e:001035 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0224 p:---- s:1033 e:001032 CFUNC  :each
c:0223 p:0030 s:1030 e:001029 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0222 p:0062 s:1025 e:001024 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0221 p:0012 s:1018 e:001017 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0220 p:0007 s:1014 E:001570 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0219 p:0007 s:1011 e:001010 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0218 p:0021 s:1007 e:001006 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0217 p:0010 s:1003 e:001002 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0216 p:0010 s:0999 e:000998 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0215 p:0014 s:0997 e:000996 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0214 p:0069 s:0995 e:000994 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0213 p:0017 s:0991 e:000990 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0212 p:0014 s:0986 E:001da8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0211 p:0007 s:0982 E:001348 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0210 p:0016 s:0978 e:000977 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0209 p:0012 s:0975 e:000974 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0208 p:---- s:0970 e:000969 CFUNC  :call
c:0207 p:0050 s:0965 e:000964 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0206 p:---- s:0959 e:000958 CFUNC  :call
c:0205 p:0012 s:0955 e:000954 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0204 p:---- s:0952 e:000951 CFUNC  :each
c:0203 p:0030 s:0949 e:000948 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0202 p:0062 s:0944 e:000943 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0201 p:0012 s:0937 e:000936 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0200 p:0007 s:0933 E:001410 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0199 p:0007 s:0930 e:000929 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0198 p:0021 s:0926 e:000925 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0197 p:0010 s:0922 e:000921 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0196 p:0010 s:0918 e:000917 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0195 p:0014 s:0916 e:000915 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0194 p:0069 s:0914 e:000913 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0193 p:0017 s:0910 e:000909 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0192 p:0014 s:0905 E:0001a8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0191 p:0007 s:0901 E:0003a8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0190 p:0016 s:0897 e:000896 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0189 p:0012 s:0894 e:000893 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0188 p:---- s:0889 e:000888 CFUNC  :call
c:0187 p:0050 s:0884 e:000883 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0186 p:---- s:0878 e:000877 CFUNC  :call
c:0185 p:0012 s:0874 e:000873 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0184 p:---- s:0871 e:000870 CFUNC  :each
c:0183 p:0030 s:0868 e:000867 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0182 p:0062 s:0863 e:000862 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0181 p:0012 s:0856 e:000855 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0180 p:0007 s:0852 E:000f10 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0179 p:0007 s:0849 e:000848 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0178 p:0021 s:0845 e:000844 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0177 p:0010 s:0841 e:000840 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0176 p:0010 s:0837 e:000836 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0175 p:0014 s:0835 e:000834 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0174 p:0069 s:0833 e:000832 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0173 p:0017 s:0829 e:000828 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0172 p:0014 s:0824 E:002238 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0171 p:0007 s:0820 E:000c78 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0170 p:0016 s:0816 e:000815 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0169 p:0012 s:0813 e:000812 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0168 p:---- s:0808 e:000807 CFUNC  :call
c:0167 p:0050 s:0803 e:000802 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0166 p:---- s:0797 e:000796 CFUNC  :call
c:0165 p:0012 s:0793 e:000792 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0164 p:---- s:0790 e:000789 CFUNC  :each
c:0163 p:0030 s:0787 e:000786 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0162 p:0062 s:0782 e:000781 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0161 p:0012 s:0775 e:000774 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0160 p:0007 s:0771 E:001ac0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0159 p:0007 s:0768 e:000767 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0158 p:0021 s:0764 e:000763 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0157 p:0010 s:0760 e:000759 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0156 p:0010 s:0756 e:000755 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0155 p:0014 s:0754 e:000753 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0154 p:0069 s:0752 e:000751 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0153 p:0017 s:0748 e:000747 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0152 p:0014 s:0743 E:0002f8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0151 p:0007 s:0739 E:000298 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0150 p:0016 s:0735 e:000734 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0149 p:0012 s:0732 e:000731 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0148 p:---- s:0727 e:000726 CFUNC  :call
c:0147 p:0050 s:0722 e:000721 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0146 p:---- s:0716 e:000715 CFUNC  :call
c:0145 p:0012 s:0712 e:000711 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0144 p:---- s:0709 e:000708 CFUNC  :each
c:0143 p:0030 s:0706 e:000705 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0142 p:0062 s:0701 e:000700 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0141 p:0012 s:0694 e:000693 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0140 p:0007 s:0690 E:001c20 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0139 p:0007 s:0687 e:000686 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0138 p:0021 s:0683 e:000682 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0137 p:0010 s:0679 e:000678 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0136 p:0010 s:0675 e:000674 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0135 p:0014 s:0673 e:000672 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0134 p:0069 s:0671 e:000670 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0133 p:0017 s:0667 e:000666 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0132 p:0014 s:0662 E:001408 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0131 p:0007 s:0658 E:001128 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0130 p:0016 s:0654 e:000653 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0129 p:0012 s:0651 e:000650 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0128 p:---- s:0646 e:000645 CFUNC  :call
c:0127 p:0050 s:0641 e:000640 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0126 p:---- s:0635 e:000634 CFUNC  :call
c:0125 p:0012 s:0631 e:000630 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0124 p:---- s:0628 e:000627 CFUNC  :each
c:0123 p:0030 s:0625 e:000624 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0122 p:0062 s:0620 e:000619 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0121 p:0012 s:0613 e:000612 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0120 p:0007 s:0609 E:0009a0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0119 p:0007 s:0606 e:000605 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0118 p:0021 s:0602 e:000601 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0117 p:0010 s:0598 e:000597 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0116 p:0010 s:0594 e:000593 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0115 p:0014 s:0592 e:000591 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0114 p:0069 s:0590 e:000589 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0113 p:0017 s:0586 e:000585 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0112 p:0014 s:0581 E:002648 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0111 p:0007 s:0577 E:0004b8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0110 p:0016 s:0573 e:000572 METHOD /home/pubudu/Projects/istockseller/app/models/photo.rb:78
c:0109 p:0012 s:0570 e:000569 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432 [FINISH]
c:0108 p:---- s:0565 e:000564 CFUNC  :call
c:0107 p:0050 s:0560 e:000559 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228 [FINISH]
c:0106 p:---- s:0554 e:000553 CFUNC  :call
c:0105 p:0012 s:0550 e:000549 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506 [FINISH]
c:0104 p:---- s:0547 e:000546 CFUNC  :each
c:0103 p:0030 s:0544 e:000543 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506
c:0102 p:0062 s:0539 e:000538 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0101 p:0012 s:0532 e:000531 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0100 p:0007 s:0528 E:000770 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302
c:0099 p:0007 s:0525 e:000524 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142
c:0098 p:0021 s:0521 e:000520 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43
c:0097 p:0010 s:0517 e:000516 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29
c:0096 p:0010 s:0513 e:000512 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0095 p:0014 s:0511 e:000510 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347
c:0094 p:0006 s:0509 e:000508 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0093 p:0019 s:0507 e:000506 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/transaction.rb:188
c:0092 p:0080 s:0501 e:000500 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb
c:0091 p:0017 s:0497 e:000496 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220
c:0090 p:0014 s:0492 E:0002d8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344
c:0089 p:0007 s:0488 E:0017b8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291
c:0088 p:0037 s:0484 E:001310 METHOD /home/pubudu/Projects/istockseller/app/controllers/photos_controller.rb:8
c:0087 p:0012 s:0481 E:0013b8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_controller/metal/implicit_render.rb:4
c:0086 p:0013 s:0475 E:001450 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/abstract_controller/base.rb:198
c:0085 p:0027 s:0470 E:0014e8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_controller/metal/rendering.rb:10
c:0084 p:0010 s:0466 E:001570 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/abstract_controller/callbacks.rb:20 [FINISH]
c:0083 p:---- s:0464 e:000463 CFUNC  :call
c:0082 p:0036 s:0461 E:001610 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:117
c:0081 p:0017 s:0455 E:0016a8 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:555 [FINISH]
c:0080 p:---- s:0452 e:000451 CFUNC  :call
c:0079 p:0021 s:0448 E:001740 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:505
c:0078 p:0062 s:0443 E:0017f0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92
c:0077 p:0012 s:0436 E:001888 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0076 p:0018 s:0432 E:001920 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:81
c:0075 p:0009 s:0427 E:000578 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/abstract_controller/callbacks.rb:19
c:0074 p:0010 s:0423 E:0019f0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_controller/metal/rescue.rb:29
c:0073 p:0012 s:0418 E:001b00 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_controller/metal/instrumentation.rb:32
c:0072 p:0013 s:0414 E:001c50 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/notifications.rb:164
c:0071 p:0026 s:0412 E:001d48 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/notifications/instrumenter.rb:20
c:0070 p:0028 s:0406 E:001bf0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/notifications.rb:164
c:0069 p:0092 s:0401 E:001a90 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_controller/metal/instrumentation.rb:30
c:0068 p:0124 s:0396 E:001e50 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_controller/metal/params_wrapper.rb:250
c:0067 p:0026 s:0389 E:001ef0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/railties/controller_runtime.rb:18
c:0066 p:0069 s:0384 E:001f98 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/abstract_controller/base.rb:137
c:0065 p:0062 s:0378 E:002030 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionview-4.2.1/lib/action_view/rendering.rb:30
c:0064 p:0035 s:0373 E:0020d0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_controller/metal.rb:196
c:0063 p:0020 s:0368 E:002170 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_controller/metal/rack_delegation.rb:13
c:0062 p:0017 s:0363 E:002208 LAMBDA /home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_controller/metal.rb:237 [FINISH]
c:0061 p:---- s:0360 e:000359 CFUNC  :call
c:0060 p:0014 s:0356 E:0022a8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/routing/route_set.rb:74
c:0059 p:0080 s:0350 E:002348 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/routing/route_set.rb:43
c:0058 p:0116 s:0344 E:002478 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/journey/router.rb:43 [FINISH]
c:0057 p:---- s:0333 e:000332 CFUNC  :each
c:0056 p:0011 s:0330 E:0023d8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/journey/router.rb:30
c:0055 p:0046 s:0326 E:002540 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/routing/route_set.rb:819
c:0054 p:0183 s:0321 E:0025e0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:186
c:0053 p:0011 s:0316 E:002678 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:164
c:0052 p:0183 s:0312 E:000000 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:186
c:0051 p:0011 s:0307 E:000098 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:164
c:0050 p:0011 s:0303 E:000190 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/warden-1.2.3/lib/warden/manager.rb:35 [FINISH]
c:0049 p:---- s:0301 e:000300 CFUNC  :catch
c:0048 p:0063 s:0297 E:000130 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/warden-1.2.3/lib/warden/manager.rb:34
c:0047 p:0011 s:0292 E:000288 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/rack-1.6.0/lib/rack/etag.rb:24
c:0046 p:0043 s:0282 E:000338 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/rack-1.6.0/lib/rack/conditionalget.rb:38
c:0045 p:0011 s:0274 E:0003e0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/rack-1.6.0/lib/rack/head.rb:13
c:0044 p:0033 s:0267 E:000480 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/middleware/params_parser.rb:27
c:0043 p:0011 s:0262 E:000528 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/middleware/flash.rb:260
c:0042 p:0023 s:0256 E:0005d8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/rack-1.6.0/lib/rack/session/abstract/id.rb:225
c:0041 p:0009 s:0248 E:000668 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/rack-1.6.0/lib/rack/session/abstract/id.rb:220
c:0040 p:0011 s:0244 E:000718 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/middleware/cookies.rb:560
c:0039 p:0056 s:0236 E:0007d0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/query_cache.rb:36
c:0038 p:0020 s:0227 E:000878 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:649
c:0037 p:0074 s:0221 E:000910 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/migration.rb:378
c:0036 p:0013 s:0216 E:0009a0 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/middleware/callbacks.rb:29 [FINISH]
c:0035 p:---- s:0214 e:000213 CFUNC  :call
c:0034 p:0020 s:0211 E:000a50 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:88
c:0033 p:0012 s:0204 E:000ae8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776
c:0032 p:0018 s:0200 E:000b80 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:81
c:0031 p:0014 s:0195 E:001ea8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/middleware/callbacks.rb:27
c:0030 p:0027 s:0189 E:000c50 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/middleware/reloader.rb:73
c:0029 p:0031 s:0184 E:000ce8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/middleware/remote_ip.rb:78
c:0028 p:0011 s:0180 E:000d80 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/better_errors-2.1.1/lib/better_errors/middleware.rb:84
c:0027 p:0031 s:0175 E:000e18 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/better_errors-2.1.1/lib/better_errors/middleware.rb:79
c:0026 p:0018 s:0171 E:000ea8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/better_errors-2.1.1/lib/better_errors/middleware.rb:57
c:0025 p:0011 s:0167 E:000f60 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/middleware/debug_exceptions.rb:17
c:0024 p:0096 s:0158 E:001048 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/web-console-2.1.2/lib/web_console/middleware.rb:37
c:0023 p:0011 s:0144 E:0010e0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/middleware/show_exceptions.rb:30
c:0022 p:0072 s:0139 E:0015d0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails/rack/logger.rb:38
c:0021 p:0011 s:0132 E:001210 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails/rack/logger.rb:20
c:0020 p:0007 s:0130 E:001350 BLOCK  /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/tagged_logging.rb:68
c:0019 p:0018 s:0128 E:001440 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/tagged_logging.rb:26
c:0018 p:0013 s:0123 E:0012f8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/tagged_logging.rb:68
c:0017 p:0042 s:0119 E:0011b0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails/rack/logger.rb:20
c:0016 p:0031 s:0114 E:001538 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/middleware/request_id.rb:21
c:0015 p:0090 s:0110 E:0015d0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/rack-1.6.0/lib/rack/methodoverride.rb:22
c:0014 p:0024 s:0105 E:001690 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/rack-1.6.0/lib/rack/runtime.rb:18
c:0013 p:0035 s:0096 E:001730 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28
c:0012 p:0056 s:0091 E:0017e0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/rack-1.6.0/lib/rack/lock.rb:17
c:0011 p:0091 s:0084 E:001888 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/middleware/static.rb:113
c:0010 p:0011 s:0078 E:001950 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/rack-1.6.0/lib/rack/sendfile.rb:113
c:0009 p:0056 s:0067 E:0019e8 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails/engine.rb:518
c:0008 p:0036 s:0063 E:001a78 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails/application.rb:164
c:0007 p:0056 s:0059 E:001b20 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/rack-1.6.0/lib/rack/lock.rb:17
c:0006 p:0011 s:0052 E:001be0 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/rack-1.6.0/lib/rack/content_length.rb:15
c:0005 p:0316 s:0043 E:001b30 METHOD /home/pubudu/.rvm/gems/ruby-2.2.1/gems/rack-1.6.0/lib/rack/handler/webrick.rb:89
c:0004 p:0187 s:0028 E:001cd8 METHOD /home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138
c:0003 p:0322 s:0018 E:001da0 METHOD /home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94
c:0002 p:0089 s:0007 E:001e48 BLOCK  /home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294 [FINISH]
c:0001 p:---- s:0002 e:000001 TOP    [FINISH]

-- Ruby level backtrace information ----------------------------------------
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/rack-1.6.0/lib/rack/handler/webrick.rb:89:in `service'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/rack-1.6.0/lib/rack/content_length.rb:15:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/rack-1.6.0/lib/rack/lock.rb:17:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails/application.rb:164:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails/engine.rb:518:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/rack-1.6.0/lib/rack/sendfile.rb:113:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/middleware/static.rb:113:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/rack-1.6.0/lib/rack/lock.rb:17:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/rack-1.6.0/lib/rack/runtime.rb:18:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/rack-1.6.0/lib/rack/methodoverride.rb:22:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/middleware/request_id.rb:21:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails/rack/logger.rb:20:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/tagged_logging.rb:68:in `tagged'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/tagged_logging.rb:26:in `tagged'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/tagged_logging.rb:68:in `block in tagged'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails/rack/logger.rb:20:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails/rack/logger.rb:38:in `call_app'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/web-console-2.1.2/lib/web_console/middleware.rb:37:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/better_errors-2.1.1/lib/better_errors/middleware.rb:57:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/better_errors-2.1.1/lib/better_errors/middleware.rb:79:in `better_errors_call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/better_errors-2.1.1/lib/better_errors/middleware.rb:84:in `protected_app_call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/middleware/reloader.rb:73:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_call_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:88:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:88:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/migration.rb:378:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/query_cache.rb:36:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/middleware/cookies.rb:560:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/rack-1.6.0/lib/rack/session/abstract/id.rb:220:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/rack-1.6.0/lib/rack/session/abstract/id.rb:225:in `context'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/middleware/flash.rb:260:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/rack-1.6.0/lib/rack/head.rb:13:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/rack-1.6.0/lib/rack/conditionalget.rb:38:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/rack-1.6.0/lib/rack/etag.rb:24:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/warden-1.2.3/lib/warden/manager.rb:34:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/warden-1.2.3/lib/warden/manager.rb:34:in `catch'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/warden-1.2.3/lib/warden/manager.rb:35:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:164:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:186:in `call!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:164:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:186:in `call!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/routing/route_set.rb:819:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/journey/router.rb:30:in `serve'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/journey/router.rb:30:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/journey/router.rb:43:in `block in serve'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/routing/route_set.rb:43:in `serve'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_dispatch/routing/route_set.rb:74:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_controller/metal.rb:237:in `block in action'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_controller/metal.rb:196:in `dispatch'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionview-4.2.1/lib/action_view/rendering.rb:30:in `process'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/abstract_controller/base.rb:137:in `process'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/notifications.rb:164:in `instrument'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/notifications.rb:164:in `block in instrument'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:505:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:505:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:117:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:117:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/abstract_controller/base.rb:198:in `process_action'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/home/pubudu/Projects/istockseller/app/controllers/photos_controller.rb:8:in `create'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/transaction.rb:188:in `within_new_transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/home/pubudu/Projects/istockseller/app/models/photo.rb:78:in `generate_slug'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/transactions.rb:291:in `block in save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/validations.rb:43:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:142:in `save!'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:505:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:505:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:117:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:117:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `block in create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:502:in `create_or_update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/timestamp.rb:70:in `_update_record'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:310:in `_update_record'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_update_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:505:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:505:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:117:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:117:in `call'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:310:in `block in _update_record'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:127:in `_update_record'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/locking/optimistic.rb:79:in `_update_record'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/persistence.rb:513:in `_update_record'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/relation.rb:88:in `_update_record'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:114:in `update'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:12:in `to_sql'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/reduce.rb:7:in `accept'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/reduce.rb:13:in `visit'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/to_sql.rb:115:in `visit_Arel_Nodes_UpdateStatement'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/to_sql.rb:786:in `inject_join'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/to_sql.rb:786:in `inject'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/to_sql.rb:786:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/to_sql.rb:786:in `each_with_index'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/to_sql.rb:786:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/to_sql.rb:788:in `block in inject_join'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/reduce.rb:13:in `visit'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/to_sql.rb:644:in `visit_Arel_Nodes_And'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/to_sql.rb:786:in `inject_join'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/to_sql.rb:786:in `inject'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/to_sql.rb:786:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/to_sql.rb:786:in `each_with_index'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/to_sql.rb:786:in `each'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/to_sql.rb:788:in `block in inject_join'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/reduce.rb:13:in `visit'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/to_sql.rb:669:in `visit_Arel_Nodes_Equality'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/reduce.rb:13:in `visit'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/to_sql.rb:705:in `visit_Arel_Attributes_Attribute'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/arel-6.0.0/lib/arel/visitors/to_sql.rb:770:in `quote_table_name'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/postgresql/quoting.rb:31:in `quote_table_name'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/postgresql/utils.rb:67:in `extract_schema_qualified_name'
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/postgresql/utils.rb:67:in `scan'

-- Machine register context ------------------------------------------------
 RIP: 0x00007f2a2c079f64 RBP: 0x00007f2a1cf62a70 RSP: 0x00007f2a1cf60fc0
 RAX: 0x0000000000000051 RBX: 0x0000000008251848 RCX: 0x0000000000000000
 RDX: 0xfffffffffff1f8ec RDI: 0x00007f2a1cf62a20 RSI: 0x00007f2a1cf629f0
  R8: 0x0000000000000000  R9: 0x00007f2a1cf62ad0 R10: 0x00007f2a0404d8a1
 R11: 0x00007f2a0404d8a0 R12: 0x00007f2a1cf60fd0 R13: 0x00007f2a1cf61020
 R14: 0x00007f2a0404d8a5 R15: 0x0000000008251848 EFL: 0x0000000000010212

-- C level backtrace information -------------------------------------------
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_vm_bugreport+0x4ea) [0x7f2a2c11d33a] vm_dump.c:693
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_bug_context+0xcb) [0x7f2a2bfb290b] error.c:425
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(sigsegv+0x3e) [0x7f2a2c0915de] signal.c:879
/lib/x86_64-linux-gnu/libc.so.6 [0x7f2a2bba8eb0]
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(match_at+0x21e4) [0x7f2a2c079f64] regexec.c:2633
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(onig_search_gpos+0x107) [0x7f2a2c07e787] regexec.c:4201
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(onig_search+0x16) [0x7f2a2c07f166] regexec.c:3905
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_reg_search0+0xfc) [0x7f2a2c06390c] re.c:1454
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_str_scan+0x2d5) [0x7f2a2c0ad2c5] string.c:7507
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x123d) [0x7f2a2c109d8d] insns.def:1054
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(invoke_block_from_c+0x6be) [0x7f2a2c1146ee] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_yield_values+0xfd) [0x7f2a2c11516d] vm.c:853
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(inject_i+0x27) [0x7f2a2bfabed7] enum.c:559
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(invoke_block_from_c+0x627) [0x7f2a2c114657] vm_insnhelper.c:2037
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_yield_values+0xfd) [0x7f2a2c11516d] vm.c:853
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_yield+0x560) [0x7f2a2c119220] vm_insnhelper.c:2037
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_ary_each+0x52) [0x7f2a2bf64922] array.c:1803
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call0_body.constprop.78+0x2b2) [0x7f2a2c1102d2] vm_eval.c:127
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_call0+0x192) [0x7f2a2c111632] vm_eval.c:59
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_iterate+0xea) [0x7f2a2c105d6a] vm_eval.c:1129
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_block_call+0x2b) [0x7f2a2c105f2b] vm_eval.c:1198
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(enum_each_with_index+0x41) [0x7f2a2bfa9001] enum.c:2036
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call0_body.constprop.78+0x2b2) [0x7f2a2c1102d2] vm_eval.c:127
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_call0+0x192) [0x7f2a2c111632] vm_eval.c:59
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_iterate+0xea) [0x7f2a2c105d6a] vm_eval.c:1129
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_block_call+0x2b) [0x7f2a2c105f2b] vm_eval.c:1198
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call0_body.constprop.78+0x2b2) [0x7f2a2c1102d2] vm_eval.c:127
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_call0+0x192) [0x7f2a2c111632] vm_eval.c:59
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_iterate+0xea) [0x7f2a2c105d6a] vm_eval.c:1129
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_block_call+0x2b) [0x7f2a2c105f2b] vm_eval.c:1198
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(enum_inject+0x6f) [0x7f2a2bfa8abf] enum.c:662
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x1187) [0x7f2a2c109cd7] insns.def:1024
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(invoke_block_from_c+0x6be) [0x7f2a2c1146ee] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_yield_values+0xfd) [0x7f2a2c11516d] vm.c:853
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(inject_i+0x27) [0x7f2a2bfabed7] enum.c:559
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(invoke_block_from_c+0x627) [0x7f2a2c114657] vm_insnhelper.c:2037
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_yield_values+0xfd) [0x7f2a2c11516d] vm.c:853
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_yield+0x560) [0x7f2a2c119220] vm_insnhelper.c:2037
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_ary_each+0x52) [0x7f2a2bf64922] array.c:1803
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call0_body.constprop.78+0x2b2) [0x7f2a2c1102d2] vm_eval.c:127
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_call0+0x192) [0x7f2a2c111632] vm_eval.c:59
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_iterate+0xea) [0x7f2a2c105d6a] vm_eval.c:1129
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_block_call+0x2b) [0x7f2a2c105f2b] vm_eval.c:1198
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(enum_each_with_index+0x41) [0x7f2a2bfa9001] enum.c:2036
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call0_body.constprop.78+0x2b2) [0x7f2a2c1102d2] vm_eval.c:127
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_call0+0x192) [0x7f2a2c111632] vm_eval.c:59
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_iterate+0xea) [0x7f2a2c105d6a] vm_eval.c:1129
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_block_call+0x2b) [0x7f2a2c105f2b] vm_eval.c:1198
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call0_body.constprop.78+0x2b2) [0x7f2a2c1102d2] vm_eval.c:127
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_call0+0x192) [0x7f2a2c111632] vm_eval.c:59
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_iterate+0xea) [0x7f2a2c105d6a] vm_eval.c:1129
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_block_call+0x2b) [0x7f2a2c105f2b] vm_eval.c:1198
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(enum_inject+0x6f) [0x7f2a2bfa8abf] enum.c:662
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x1187) [0x7f2a2c109cd7] insns.def:1024
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(invoke_block_from_c+0x6be) [0x7f2a2c1146ee] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_invoke_proc+0xe0) [0x7f2a2c1148b0] vm.c:878
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_vm_invoke_proc+0x18) [0x7f2a2c114998] vm.c:897
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(proc_call+0x52) [0x7f2a2bfc1ae2] proc.c:731
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x123d) [0x7f2a2c109d8d] insns.def:1054
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(invoke_block_from_c+0x6be) [0x7f2a2c1146ee] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_invoke_proc+0xe0) [0x7f2a2c1148b0] vm.c:878
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_vm_invoke_proc+0x18) [0x7f2a2c114998] vm.c:897
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(proc_call+0x52) [0x7f2a2bfc1ae2] proc.c:731
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x123d) [0x7f2a2c109d8d] insns.def:1054
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(invoke_block_from_c+0x6be) [0x7f2a2c1146ee] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_invoke_proc+0xe0) [0x7f2a2c1148b0] vm.c:878
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_vm_invoke_proc+0x18) [0x7f2a2c114998] vm.c:897
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(proc_call+0x52) [0x7f2a2bfc1ae2] proc.c:731
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x123d) [0x7f2a2c109d8d] insns.def:1054
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(invoke_block_from_c+0x6be) [0x7f2a2c1146ee] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_invoke_proc+0xe0) [0x7f2a2c1148b0] vm.c:878
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_vm_invoke_proc+0x18) [0x7f2a2c114998] vm.c:897
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(proc_call+0x52) [0x7f2a2bfc1ae2] proc.c:731
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x123d) [0x7f2a2c109d8d] insns.def:1054
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(invoke_block_from_c+0x6be) [0x7f2a2c1146ee] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_invoke_proc+0xe0) [0x7f2a2c1148b0] vm.c:878
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_vm_invoke_proc+0x18) [0x7f2a2c114998] vm.c:897
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(proc_call+0x52) [0x7f2a2bfc1ae2] proc.c:731
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x123d) [0x7f2a2c109d8d] insns.def:1054
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(invoke_block_from_c+0x6be) [0x7f2a2c1146ee] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_invoke_proc+0xe0) [0x7f2a2c1148b0] vm.c:878
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_vm_invoke_proc+0x18) [0x7f2a2c114998] vm.c:897
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(proc_call+0x52) [0x7f2a2bfc1ae2] proc.c:731
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x123d) [0x7f2a2c109d8d] insns.def:1054
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_yield+0x482) [0x7f2a2c119142] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_ary_each+0x52) [0x7f2a2bf64922] array.c:1803
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x1187) [0x7f2a2c109cd7] insns.def:1024
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(invoke_block_from_c+0x6be) [0x7f2a2c1146ee] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_invoke_proc+0xe0) [0x7f2a2c1148b0] vm.c:878
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_vm_invoke_proc+0x18) [0x7f2a2c114998] vm.c:897
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(proc_call+0x52) [0x7f2a2bfc1ae2] proc.c:731
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x123d) [0x7f2a2c109d8d] insns.def:1054
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(invoke_block_from_c+0x6be) [0x7f2a2c1146ee] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_invoke_proc+0xe0) [0x7f2a2c1148b0] vm.c:878
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_vm_invoke_proc+0x18) [0x7f2a2c114998] vm.c:897
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(proc_call+0x52) [0x7f2a2bfc1ae2] proc.c:731
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x123d) [0x7f2a2c109d8d] insns.def:1054
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_yield+0x482) [0x7f2a2c119142] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_ary_each+0x52) [0x7f2a2bf64922] array.c:1803
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x1187) [0x7f2a2c109cd7] insns.def:1024
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(invoke_block_from_c+0x6be) [0x7f2a2c1146ee] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_invoke_proc+0xe0) [0x7f2a2c1148b0] vm.c:878
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_vm_invoke_proc+0x18) [0x7f2a2c114998] vm.c:897
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(proc_call+0x52) [0x7f2a2bfc1ae2] proc.c:731
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x123d) [0x7f2a2c109d8d] insns.def:1054
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(invoke_block_from_c+0x6be) [0x7f2a2c1146ee] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_invoke_proc+0xe0) [0x7f2a2c1148b0] vm.c:878
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_vm_invoke_proc+0x18) [0x7f2a2c114998] vm.c:897
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(proc_call+0x52) [0x7f2a2bfc1ae2] proc.c:731
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x123d) [0x7f2a2c109d8d] insns.def:1054
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_yield+0x482) [0x7f2a2c119142] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_ary_each+0x52) [0x7f2a2bf64922] array.c:1803
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x1187) [0x7f2a2c109cd7] insns.def:1024
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(invoke_block_from_c+0x6be) [0x7f2a2c1146ee] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_invoke_proc+0xe0) [0x7f2a2c1148b0] vm.c:878
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_vm_invoke_proc+0x18) [0x7f2a2c114998] vm.c:897
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(proc_call+0x52) [0x7f2a2bfc1ae2] proc.c:731
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x123d) [0x7f2a2c109d8d] insns.def:1054
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(invoke_block_from_c+0x6be) [0x7f2a2c1146ee] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_invoke_proc+0xe0) [0x7f2a2c1148b0] vm.c:878
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_vm_invoke_proc+0x18) [0x7f2a2c114998] vm.c:897
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(proc_call+0x52) [0x7f2a2bfc1ae2] proc.c:731
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x123d) [0x7f2a2c109d8d] insns.def:1054
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_yield+0x482) [0x7f2a2c119142] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_ary_each+0x52) [0x7f2a2bf64922] array.c:1803
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x1187) [0x7f2a2c109cd7] insns.def:1024
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(invoke_block_from_c+0x6be) [0x7f2a2c1146ee] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_invoke_proc+0xe0) [0x7f2a2c1148b0] vm.c:878
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_vm_invoke_proc+0x18) [0x7f2a2c114998] vm.c:897
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(proc_call+0x52) [0x7f2a2bfc1ae2] proc.c:731
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x123d) [0x7f2a2c109d8d] insns.def:1054
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(invoke_block_from_c+0x6be) [0x7f2a2c1146ee] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_invoke_proc+0xe0) [0x7f2a2c1148b0] vm.c:878
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_vm_invoke_proc+0x18) [0x7f2a2c114998] vm.c:897
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(proc_call+0x52) [0x7f2a2bfc1ae2] proc.c:731
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x123d) [0x7f2a2c109d8d] insns.def:1054
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_yield+0x482) [0x7f2a2c119142] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_ary_each+0x52) [0x7f2a2bf64922] array.c:1803
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x1187) [0x7f2a2c109cd7] insns.def:1024
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(invoke_block_from_c+0x6be) [0x7f2a2c1146ee] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_invoke_proc+0xe0) [0x7f2a2c1148b0] vm.c:878
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_vm_invoke_proc+0x18) [0x7f2a2c114998] vm.c:897
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(proc_call+0x52) [0x7f2a2bfc1ae2] proc.c:731
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x123d) [0x7f2a2c109d8d] insns.def:1054
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(invoke_block_from_c+0x6be) [0x7f2a2c1146ee] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_invoke_proc+0xe0) [0x7f2a2c1148b0] vm.c:878
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_vm_invoke_proc+0x18) [0x7f2a2c114998] vm.c:897
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(proc_call+0x52) [0x7f2a2bfc1ae2] proc.c:731
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x123d) [0x7f2a2c109d8d] insns.def:1054
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_yield+0x482) [0x7f2a2c119142] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_ary_each+0x52) [0x7f2a2bf64922] array.c:1803
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x1187) [0x7f2a2c109cd7] insns.def:1024
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(invoke_block_from_c+0x6be) [0x7f2a2c1146ee] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_invoke_proc+0xe0) [0x7f2a2c1148b0] vm.c:878
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_vm_invoke_proc+0x18) [0x7f2a2c114998] vm.c:897
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(proc_call+0x52) [0x7f2a2bfc1ae2] proc.c:731
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x123d) [0x7f2a2c109d8d] insns.def:1054
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(invoke_block_from_c+0x6be) [0x7f2a2c1146ee] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_invoke_proc+0xe0) [0x7f2a2c1148b0] vm.c:878
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_vm_invoke_proc+0x18) [0x7f2a2c114998] vm.c:897
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(proc_call+0x52) [0x7f2a2bfc1ae2] proc.c:731
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x123d) [0x7f2a2c109d8d] insns.def:1054
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_yield+0x482) [0x7f2a2c119142] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_ary_each+0x52) [0x7f2a2bf64922] array.c:1803
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x1187) [0x7f2a2c109cd7] insns.def:1024
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(invoke_block_from_c+0x6be) [0x7f2a2c1146ee] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_invoke_proc+0xe0) [0x7f2a2c1148b0] vm.c:878
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_vm_invoke_proc+0x18) [0x7f2a2c114998] vm.c:897
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(proc_call+0x52) [0x7f2a2bfc1ae2] proc.c:731
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x123d) [0x7f2a2c109d8d] insns.def:1054
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(invoke_block_from_c+0x6be) [0x7f2a2c1146ee] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_invoke_proc+0xe0) [0x7f2a2c1148b0] vm.c:878
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_vm_invoke_proc+0x18) [0x7f2a2c114998] vm.c:897
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(proc_call+0x52) [0x7f2a2bfc1ae2] proc.c:731
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x123d) [0x7f2a2c109d8d] insns.def:1054
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_yield+0x482) [0x7f2a2c119142] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_ary_each+0x52) [0x7f2a2bf64922] array.c:1803
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x1187) [0x7f2a2c109cd7] insns.def:1024
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(invoke_block_from_c+0x6be) [0x7f2a2c1146ee] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_invoke_proc+0xe0) [0x7f2a2c1148b0] vm.c:878
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_vm_invoke_proc+0x18) [0x7f2a2c114998] vm.c:897
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(proc_call+0x52) [0x7f2a2bfc1ae2] proc.c:731
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x123d) [0x7f2a2c109d8d] insns.def:1054
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(invoke_block_from_c+0x6be) [0x7f2a2c1146ee] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_invoke_proc+0xe0) [0x7f2a2c1148b0] vm.c:878
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_vm_invoke_proc+0x18) [0x7f2a2c114998] vm.c:897
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(proc_call+0x52) [0x7f2a2bfc1ae2] proc.c:731
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x123d) [0x7f2a2c109d8d] insns.def:1054
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_yield+0x482) [0x7f2a2c119142] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_ary_each+0x52) [0x7f2a2bf64922] array.c:1803
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x1187) [0x7f2a2c109cd7] insns.def:1024
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(invoke_block_from_c+0x6be) [0x7f2a2c1146ee] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_invoke_proc+0xe0) [0x7f2a2c1148b0] vm.c:878
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_vm_invoke_proc+0x18) [0x7f2a2c114998] vm.c:897
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(proc_call+0x52) [0x7f2a2bfc1ae2] proc.c:731
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x123d) [0x7f2a2c109d8d] insns.def:1054
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(invoke_block_from_c+0x6be) [0x7f2a2c1146ee] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_invoke_proc+0xe0) [0x7f2a2c1148b0] vm.c:878
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_vm_invoke_proc+0x18) [0x7f2a2c114998] vm.c:897
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(proc_call+0x52) [0x7f2a2bfc1ae2] proc.c:731
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x123d) [0x7f2a2c109d8d] insns.def:1054
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_yield+0x482) [0x7f2a2c119142] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_ary_each+0x52) [0x7f2a2bf64922] array.c:1803
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x1187) [0x7f2a2c109cd7] insns.def:1024
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(invoke_block_from_c+0x6be) [0x7f2a2c1146ee] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_invoke_proc+0xe0) [0x7f2a2c1148b0] vm.c:878
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_vm_invoke_proc+0x18) [0x7f2a2c114998] vm.c:897
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(proc_call+0x52) [0x7f2a2bfc1ae2] proc.c:731
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x123d) [0x7f2a2c109d8d] insns.def:1054
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(invoke_block_from_c+0x6be) [0x7f2a2c1146ee] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_invoke_proc+0xe0) [0x7f2a2c1148b0] vm.c:878
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_vm_invoke_proc+0x18) [0x7f2a2c114998] vm.c:897
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(proc_call+0x52) [0x7f2a2bfc1ae2] proc.c:731
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x123d) [0x7f2a2c109d8d] insns.def:1054
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec+0x78) [0x7f2a2c10e4e8] vm.c:1400
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_yield+0x482) [0x7f2a2c119142] vm.c:813
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(rb_ary_each+0x52) [0x7f2a2bf64922] array.c:1803
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_call_cfunc+0x127) [0x7f2a2c103997] vm_insnhelper.c:1382
/home/pubudu/SSD/ubuntu1410/.rvm/rubies/ruby-2.2.1/bin/../lib/libruby.so.2.2(vm_exec_core+0x1187) [0x7f2a2c109cd7] insns.def:1024
/home/pubudu/SSD/ubuntu1410/.rvm/rubie