search for: save_without_dirty

Displaying 14 results from an estimated 14 matches for "save_without_dirty".

2011 Dec 01
5
Validation failed: Host already has a report for time and kind
...n the same node are running just fine. The backtrace on dashboard is: Importing report report-1009-84.yaml at 2011-11-22 00:33 GMTValidation failed: Host already has a report for time and kind Backtrace /usr/share/puppet-dashboard/vendor/rails/activerecord/lib/active_record/validations.rb:1102:in `save_without_dirty!'' /usr/share/puppet-dashboard/vendor/rails/activerecord/lib/active_record/dirty.rb:87:in `save_without_transactions!'' /usr/share/puppet-dashboard/vendor/rails/activerecord/lib/active_record/transactions.rb:200:in `save!'' /usr/share/puppet-dashboard/vendor/rails/activereco...
2009 Feb 21
2
ArgumentError on model create statement
...web/vendor/rails/activerecord/lib/active_record/callbacks.rb:288:in `callback'' from /src/parkassist/paseweb/vendor/rails/activerecord/lib/active_record/callbacks.rb:288:in `valid?'' from /src/parkassist/paseweb/vendor/rails/activerecord/lib/active_record/validations.rb:1008:in `save_without_dirty'' from /src/parkassist/paseweb/vendor/rails/activerecord/lib/active_record/dirty.rb:79:in `save_without_transactions'' from /src/parkassist/paseweb/vendor/rails/activerecord/lib/active_record/transactions.rb:179:in `send'' from /src/parkassist/paseweb/vendor/rails/acti...
2009 Jun 17
2
validates_uniqueness_of fails on STI in Rails 2.3.2
...record-2.3.2/lib/active_record/validations.rb:1029:in `valid_without_callbacks?'' from /home/joaz/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/callbacks.rb:315:in `valid?'' from /home/joaz/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/validations.rb:1008:in `save_without_dirty'' from /home/joaz/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/dirty.rb:79:in `save_without_transactions'' from /home/joaz/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/transactions.rb:229:in `send'' from /home/joaz/.gem/ruby/1.8/gems/activerecord-...
2008 Dec 20
9
Upgrade to Rails 2 - problem with "save" (MySQL boolean issue?)
I have been working through an upgrade of my 1.2.6 application to 2.2.2. I am almost there but I have hit a problem with ActiveRecord. Before the upgrade, the following code was working fine. def create_root(administrator) root = create_root_collection(self.pingee_name, administrator,
2009 Jun 04
1
wrong number of arguments (1 for 0)
.../gems/activerecord-2.3.2/lib/active_record/ callbacks.rb:250:in `create_or_update'' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/ base.rb:2556:in `save_without_validation!'' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/ validations.rb:1019: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__without_trace_ActiveRecord___self_class_name__save'' /usr/lib/rub...
2013 Oct 18
0
Dashboard failed tasks
...*Importing report report-21248-180.yaml* at 10-18-2013 11:10 EDTValidation failed: Host already has a report for time and kind Backtrace <http://puppetprod.med.umich.edu/delayed_job_failures> /var/www/html/puppet-dashboard/vendor/rails/activerecord/lib/active_record/validations.rb:1101:in `save_without_dirty!''/var/www/html/puppet-dashboard/vendor/rails/activerecord/lib/active_record/dirty.rb:87:in `save_without_transactions!''/var/www/html/puppet-dashboard/vendor/rails/activerecord/lib/active_record/transactions.rb:200:in `save!''/var/www/html/puppet-dashboard/vendor/rails/ac...
2010 Aug 30
1
taskomatic.rb : set_vm_vnc_port
...Mon Aug 30 15:23:00 +0000 2010 (26416) Task action processing failed: ActiveRecord::RecordInvalid: Validation failed: Vnc port must be greater than or equal to 0 ERROR Mon Aug 30 15:23:00 +0000 2010 (26416) /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/validations.rb:1090:in `save_without_dirty!'/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/dirty.rb:87:in `save_without_transactions!'/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:200:in `save!'/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapt...
2009 Nov 13
3
Encoding::UTF_8 missing?
...; /Library/Ruby/Gems/1.8/gems/activerecord-2.3.4/lib/active_record/callbacks.rb:315:in `valid_without_lifecycles?'' /Library/Ruby/Gems/1.8/gems/hobo-0.8.10/lib/hobo/lifecycles.rb:67:in `valid?'' /Library/Ruby/Gems/1.8/gems/activerecord-2.3.4/lib/active_record/validations.rb:1077:in `save_without_dirty'' /Library/Ruby/Gems/1.8/gems/activerecord-2.3.4/lib/active_record/dirty.rb:79:in `save_without_transactions'' /Library/Ruby/Gems/1.8/gems/activerecord-2.3.4/lib/active_record/transactions.rb:229:in `send'' /Library/Ruby/Gems/1.8/gems/activerecord-2.3.4/lib/active_record/tra...
2008 Jul 27
0
dhtml_calendar Plugin and dates
...ems/activerecord-2.1.0/lib/active_record/callbacks.rb:207:in `create_or_update'' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:2206:in `save_without_validation!'' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/validations.rb:911:in `save_without_dirty!'' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/dirty.rb:83:in `save_without_transactions!'' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/transactions.rb:110:in `save!'' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/activ...
2009 Apr 01
1
Erro de update no rails 2.3.2
.../activerecord-2.3.2/lib/active_record/ callbacks.rb:250:in `create_or_update'' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/ base.rb:2539:in `save_without_validation'' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/ validations.rb:1009:in `save_without_dirty'' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/ dirty.rb:79:in `save_without_transactions'' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/ transactions.rb:229:in `send'' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active...
2009 Nov 04
0
The error occurred while evaluating nil.prefetch_primary_key
...lbacks.rb:222:in `create_or_update'' from /home/markus/Development/GPT2/my_test2/vendor/rails/activerecord/lib/active_record/base.rb:2385:in `save_without_validation'' from /home/markus/Development/GPT2/my_test2/vendor/rails/activerecord/lib/active_record/validations.rb:1009:in `save_without_dirty'' from /home/markus/Development/GPT2/my_test2/vendor/rails/activerecord/lib/active_record/dirty.rb:79:in `save_without_transactions'' from /home/markus/Development/GPT2/my_test2/vendor/rails/activerecord/lib/active_record/transactions.rb:179:in `send'' from /home/marku...
2009 Mar 05
7
issue with the object cache
Hi, I am getting a method_missing error when I run my application in the production environment unless I set config.cache_classes = false in config/environments/production.rb. This happens in Rails 2.2.2 but not in Rails 2.1.0. The method that is missing is one I used to have before I edited by hand the migration that creates the table associated with the object (I know you are discouraged to do
2009 Jul 04
12
save! not allowed after validates_uniqueness
I have this in a model validates_uniqueness_of :aspect, :scope => :user_id In an instance method of the same model I have "save!" but I don''t touch the :aspect attribute in that instance method at all. Whenever that save! command is run however I get this error: ActiveRecord::RecordInvalid: Validation failed: Aspect has already been taken I don''t
2008 Apr 09
5
intermittent BJ errors
hi all I''m running background tasks using BJ 1.0.1 (gem version). On some requests, the tasks are executed as expected. On others, I get the following error: RuntimeError (no bj found in ["/u/apps/igniter/releases/20080408205801/ script", "/bin", "/usr/bin", "/sbin", "/usr/sbin"]): when it runs, it runs fine but does anyone know what