Skip to content

Instantly share code, notes, and snippets.

View deepakprasanna's full-sized avatar

Deepak Prasanna deepakprasanna

View GitHub Profile
ActiveRecord::RecordInvalid in DocumentsController#create
Validation failed: Role has already been taken
RAILS_ROOT: /home/deepak/artha-intranet
Application Trace | Framework Trace | Full Trace
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/validations.rb:1021:in `save_without_dirty!'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/dirty.rb:87:in `save_without_transactions!'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/transactions.rb:200:in `save!'