Displaying 20 results from an estimated 43 matches for "create_or_update_without_callbacks".
2010 Jan 25
1
ActionMailer does not find templates in production mode
...path app/views):
app/models/event_observer.rb:3:in `after_enter_awaiting_approval''
/usr/lib/ruby/1.8/observer.rb:185:in `notify_observers''
/usr/lib/ruby/1.8/observer.rb:184:in `each''
/usr/lib/ruby/1.8/observer.rb:184:in `notify_observers''
(eval):10:in `create_or_update_without_callbacks''
app/controllers/event_controller.rb:71:in `request_approval''
public/dispatch.fcgi:24
However, I do have a corresponding template named
"approval_requested_notification.text.plain.erb" in "app/views/event_mailer",
which is correctly picked up in developm...
2006 Apr 04
6
Oracle Problem. Maybe driver
...ems/activerecord-1.14.0/lib/active_record/callbacks.rb:274:in
`update_without_timestamps''
/opt/tools/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/timestamp.rb:39:in
`update''
/opt/tools/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/base.rb:1712:in
`create_or_update_without_callbacks''
/opt/tools/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/callbacks.rb:249:in
`create_or_update''
/opt/tools/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/base.rb:1388:in
`save_without_validation''
/opt/tools/lib/ruby/gems/1.8/gems/activereco...
2006 Aug 25
6
End-of-File Error occured at <except.c>:103 in xpop_context
...ems/activerecord-1.14.4/lib/active_record/callbacks.rb:266:in
`create_without_timestamps''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/timestamp.rb:30:in
`create''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:1718:in
`create_or_update_without_callbacks''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/callbacks.rb:253:in
`create_or_update''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:1392:in
`save_without_validation''
/usr/local/lib/ruby/gems/1.8/gems/activereco...
2007 Oct 30
1
Merb - Losing connection to MySQL
...ruby/gems/1.8/gems/activerecord-1.15.5/lib/active_record/callbacks.rb:254:in
`create_without_timestamps''
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.5/lib/active_record/timestamp.rb:30:in
`create''
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.5/lib/active_record/base.rb:1792:in
`create_or_update_without_callbacks''
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.5/lib/active_record/callbacks.rb:242:in
`create_or_update''
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.5/lib/active_record/base.rb:1548:in
`save_without_validation''
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.5/lib/active...
2006 Jul 14
1
error with Dates in SQL Server
...cord/lib/
active_record/
allbacks.rb:261:in `create_without_timestamps''
from ./script/../config/../vendor/rails/activerecord/lib/
active_record/
imestamp.rb:30:in `create''
from ./script/../config/../vendor/rails/activerecord/lib/
active_record/
ase.rb:1718:in `create_or_update_without_callbacks''
from ./script/../config/../vendor/rails/activerecord/lib/
active_record/
allbacks.rb:249:in `create_or_update''
from ./script/../config/../vendor/rails/activerecord/lib/
active_record/
ase.rb:1392:in `save_without_validation''
from ./script/../...
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,
2007 Oct 07
1
How to store a Mechanize object in the database?
...ms/activerecord-1.15.3/lib/active_record/callbacks.rb:254:in
`create_without_timestamps''
from /var/lib/gems/1.8/gems/activerecord-1.15.3/lib/active_record/timestamp.rb:39:in
`create''
from /var/lib/gems/1.8/gems/activerecord-1.15.3/lib/active_record/base.rb:1789:in
`create_or_update_without_callbacks''
from /var/lib/gems/1.8/gems/activerecord-1.15.3/lib/active_record/callbacks.rb:242:in
`create_or_update''
from /var/lib/gems/1.8/gems/activerecord-1.15.3/lib/active_record/base.rb:1545:in
`save_without_validation''
from /var/lib/gems/1.8/gems/active...
2006 Aug 08
1
File upload into Mysql (using lighttpd) problem
...verecord-1.14.1/lib/active_record/callbacks.rb:261:in
`create_without_timestamps''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.1/lib/active_record/timestamp.rb:30:in
`create''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.1/lib/active_record/base.rb:1718:in
`create_or_update_without_callbacks''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.1/lib/active_record/callbacks.rb:249:in
`create_or_update''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.1/lib/active_record/base.rb:1392:in
`save_without_validation''
/usr/local/lib/ruby/gems/1.8/gem...
2009 Jun 04
1
wrong number of arguments (1 for 0)
...;'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/
callbacks.rb:344:in `callback''
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/
callbacks.rb:283:in `update''
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/
base.rb:2868:in `create_or_update_without_callbacks''
/usr/lib/ruby/gems/1.8/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...
2005 Aug 02
0
Debugging woes
...8/gems/activerecord-1.11.0/lib/active_record/callbacks.rb:274:in `update_without_timestamps''
from /usr/lib/ruby/gems/1.8/gems/activerecord-1.11.0/lib/active_record/timestamp.rb:39:in `update''
from /usr/lib/ruby/gems/1.8/gems/activerecord-1.11.0/lib/active_record/base.rb:1132:in `create_or_update_without_callbacks''
from /usr/lib/ruby/gems/1.8/gems/activerecord-1.11.0/lib/active_record/callbacks.rb:249:in `create_or_update''
from /usr/lib/ruby/gems/1.8/gems/activerecord-1.11.0/lib/active_record/base.rb:958:in `save_without_validation''
from /usr/lib/ruby/gems/1.8/gems/activerecord-...
2006 Nov 20
0
End-of-File Error occured at <except.c>:79 in xraise
...ms/activerecord-
1.14.4/lib/active_record/callbacks.rb:279:in `update_without_timestamps''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/timestamp.rb:39:in
`update''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-
1.14.4/lib/active_record/base.rb:1718:in
`create_or_update_without_callbacks''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/callbacks.rb:253:in
`create_or_update''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-
1.14.4/lib/active_record/base.rb:1392:in `save_without_validation''
/usr/local/lib/ruby/gems/1.8/gems/activereco...
2007 Jul 24
1
Why can''t find index file sometimes?
...back''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/callbacks.rb:268:in
`update_without_timestamps''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/timestamp.rb:48:in
`update''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1789:in
`create_or_update_without_callbacks''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/callbacks.rb:242:in
`create_or_update''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1545:in
`save_without_validation''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/validations.rb:7...
2007 Jan 31
1
Just copied my app to another puter, and now...
...C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:1129:in
`method_missing''
/vendor/plugins/userstamp/lib/userstamp.rb:32:in `create''
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:1718:in
`create_or_update_without_callbacks''
.blah blah blah.. (if more lines of this would help, let me know..
---------------------------------------------------------------------------
So it looks like there''s no ''current_user'' method, when I''ve never had a
current_user column or method in...
2006 Jul 18
1
Saving an ActiveRecord object
I get this error when I try to save an object that extends of
ActiveRecord:
NoMethodError in TeamController#add_player
You have a nil object when you didn''t expect it!
The error occured while evaluating nil.keys
....
....
#{RAILS_ROOT}/app/models/player.rb:17:in `create_player''
#{RAILS_ROOT}/app/controllers/team_controller.rb:53:in `add_player''
And my Player model
2006 Nov 04
0
ActiveRecord, insert and not auto-incremented primary keys...
.../lib/active_record/callbacks.rb:261:in `create_without_timestamps''
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.3/lib/active_record/timestamp.rb:30:in `create''
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.3/lib/active_record/base.rb:1718:in `create_or_update_without_callbacks''
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.3/lib/active_record/callbacks.rb:249:in `create_or_update''
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.3/lib/active_record/base.rb:1392:in `save_without_validation''
from /usr/lo...
2008 Jul 27
0
dhtml_calendar Plugin and dates
...y/gems/1.8/gems/activerecord-2.1.0/lib/active_record/callbacks.rb:220:in
`create_without_timestamps''
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/timestamp.rb:29:in
`create''
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:2472:in
`create_or_update_without_callbacks''
c:/ruby/lib/ruby/gems/1.8/gems/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...
2005 Aug 26
2
Salted Login Hash Woes
I had the Salted Login Hash Generator working at one point and then it
just stoped working. It was around the time that I changed hosts and I
think that it just might not be able to connect to the new server. I
have tried everything though and it just doesn''t seem to work out. I''m
now thinking that maybe it has to do with something else that I changed
in the project.
Is
2007 Oct 07
10
Rails to English
.../1.8/gems/activerecord-1.15.3/lib/active_record/
callbacks.rb:254:in `create_without_timestamps''
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/
timestamp.rb:39:in `create''
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/
base.rb:1789:in `create_or_update_without_callbacks''
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/
callbacks.rb:242:in `create_or_update''
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/
base.rb:1545:in `save_without_validation''
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3...
2005 Dec 16
0
ArgumentError on create
...s''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/callbacks.rb:261:in
`create_without_timestamps''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/timestamp.rb:30:in
`create''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1431:in
`create_or_update_without_callbacks''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/callbacks.rb:249:in
`create_or_update''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1231:in
`save_without_validation''
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/validations.rb...
2009 Apr 01
1
Erro de update no rails 2.3.2
...gems/1.8/gems/activerecord-2.3.2/lib/active_record/
timestamp.rb:38:in `update_without_callbacks''
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/
callbacks.rb:282:in `update''
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/
base.rb:2868:in `create_or_update_without_callbacks''
c:/ruby/lib/ruby/gems/1.8/gems/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/li...