similar to: save does not cascade in 1.2.1?

Displaying 20 results from an estimated 9000 matches similar to: "save does not cascade in 1.2.1?"

2007 Jan 29
0
Rails 1.2.1 reload of active record changed?
Hi All, I have a following test case: def test_update_settings assert @unit.setting!=nil assert_equal @unit.setting,@current_setting @unit.setting.mode = true assert @unit.save @unit.reload assert @unit.setting.mode end Which worked (and still works on 1.1.6) pretty well before the upgrade to 1.2.1 and now the last assertion fails. Any ideas? -- Posted via
2006 Feb 23
1
PostgreSQL CASCADE not copied to test db
When the unit test harness creates a test database from the development database, the ON DELETE CASCADE constraints I have on my foreign keys are not copied into the test database. (I can tell by looking at db/development_structure.sql.) That means the fixtures can''t load/unload from the test database properly. In other words, all my tests fail with the same error message:
2006 Jun 01
9
@model.errors.empty? => true; @model.valid? => false
Hi, So, how can the situation described in the subject come to be? In other words, what could be invalidating the model, yet not generating an error? thanks, jh ps. here''s the breakpoint session paste: irb(#<#<Class:0xb72eec00>:0xb72eeb10>):003:0> @project.errors.empty? => true irb(#<#<Class:0xb72eec00>:0xb72eeb10>):004:0> @project.valid? => false
2011 Feb 25
0
[LLVMdev] ARM ELF target and the use of VFP/NEON instructions
On Fri, Feb 25, 2011 at 12:16 PM, Siarhei Siamashka <siarhei.siamashka at gmail.com> wrote: > On Thursday 03 February 2011 14:14:28 Renato Golin wrote: >> On 3 February 2011 10:25, Siarhei Siamashka <siarhei.siamashka at gmail.com> > wrote: >> > I have submitted a bug some time ago to LLVM bugtracker: >> > http://llvm.org/bugs/show_bug.cgi?id=8931 >>
2011 Feb 25
2
[LLVMdev] ARM ELF target and the use of VFP/NEON instructions
On Friday 25 February 2011 22:28:14 Jason Kim wrote: > On Fri, Feb 25, 2011 at 12:16 PM, Siarhei Siamashka > > <siarhei.siamashka at gmail.com> wrote: > > On Thursday 03 February 2011 14:14:28 Renato Golin wrote: > >> On 3 February 2011 10:25, Siarhei Siamashka > >> <siarhei.siamashka at gmail.com> > > > > wrote: > >> > I have
2011 Feb 25
2
[LLVMdev] ARM ELF target and the use of VFP/NEON instructions
On Thursday 03 February 2011 14:14:28 Renato Golin wrote: > On 3 February 2011 10:25, Siarhei Siamashka <siarhei.siamashka at gmail.com> wrote: > > I have submitted a bug some time ago to LLVM bugtracker: > > http://llvm.org/bugs/show_bug.cgi?id=8931 > > Hi Siarhei, > > This is a really silly bug with a simple fix. > > We have a similar patch here
2011 Feb 03
0
[LLVMdev] ARM ELF target and the use of VFP/NEON instructions
On 3 February 2011 10:25, Siarhei Siamashka <siarhei.siamashka at gmail.com> wrote: > I have submitted a bug some time ago to LLVM bugtracker: > http://llvm.org/bugs/show_bug.cgi?id=8931 Hi Siarhei, This is a really silly bug with a simple fix. We have a similar patch here locally, but as this is part of another set of patches we were waiting for it to stabilise. There are some
2010 Nov 16
0
[ANNOUNCE] pixman release 0.21.2 now available
A new pixman release 0.21.2 is now available. This is the first development snapshot leading up to a stable 0.22 release. News: ARM: Performance improvements for image scaling [Siarhei Siamashka] Performance improvements for affine transformations [Soren Sandmann] Plus bug fixes and other improvements [Andrea Canciani, Siarhei, Soren]. NOTE: In this release a workaround for a bug in
2010 Jul 28
5
db:fixures:load does not call Model.save()
Hello, $ ruby script/generate model balance plus:integer minus:integer equal:integer $ cat app/models/balance.rb class Balance < ActiveRecord::Base def save self.equal = self.plus - self.minus super end end $ cat test/fixtures/balances.yml _10-1: plus: 10 minus: 1 $ rake db:fixtures:load $ sqlite3 db/development.sqlite3 sqlite> select * from balances; //=>
2017 Sep 21
1
Dovecot 2.1.17 and Solr 6.6.1
This patch is not valid for dovecot 2.1.17 :( Will my config (dovecot 2.1.17) be suitable for the dovecot => 2.2.19 ? Thanks 2017-09-21 12:05 GMT+02:00 Aki Tuomi <aki.tuomi at dovecot.fi>: > Probably, it's a small change. =) > > Aki > > > On 21.09.2017 13:01, Siarhei Chystsiakou wrote: > > Can I used the patch on dovecot 2.1.17 ? > > > >
2009 Nov 04
1
cascade option for dev.new?
I frequently run scripts that generate multiple graphs. Unless you specify a specific window location, dev.new superimposes all new graphics windows exactly on top of each other. It would be nice to have a "cascade=TRUE" option in dev.new to prevent windows from being hidden. A hasty approximation to this is the following function: # utility function to prevent overlapping plot
2006 Dec 05
2
Patch for place plugin (Cascade, Centered, ...)
Here is a patch for place plugin. It add a "place_mode" option wich actually can have two values: "Cascade" (original placement mode) and "Centered". Thanks for any comment! Cedric -------------- next part -------------- A non-text attachment was scrubbed... Name: place.patch Type: text/x-diff Size: 3556 bytes Desc: not available Url :
2006 May 13
3
ActiveRecord and cascade removing
Hi. Please help me how to make cascade delete for this 3 classes: class Section < ActiveRecord:Base has_many :ad_bindings has_many: banners, :through => :ad_bindings end class AdBinding < ActiveRecord:Base belongs_to :banner end class Banner < ActiveRecord:Base end When I remove Banner, I need to remove AdBinding also, but it still stored in database. Where I wrong?
2006 Apr 20
0
acts_as_list not CASCADE''ing in singular n-tier model structure
[using RAILs 1.1.2] Has anyone else seen issues where multiple tiered "acts_as_list" models do not CASCADE delete correctly? For instance, I have 4 models, the first 3 in the hierarchy have the appropriate "have_many" declarations with "exclusively_dependent => true". The last the models have the appropriate "acts_as_list" with the correct scope
2007 Jul 22
18
db:fixtures:load order
I was trying to deal with foreign key issues related to order of fixture loading when I came across this: http://techpolesen.blogspot.com/2007/04/rails-fixture-tips.html This got me looking deeper into rails and I noticed that db:fixtures:load calls Fixtures.create_fixtures once for each fixture file. However, Fixtures.create_fixtures is capable of taking multiple files and also handle the
1999 Jun 21
0
Cascade PDC and Samba 2.0.4b
A colleague just wrote and said he's had a problem with Samba using a Cascade ("SLS") PDC. This is odd, as Jeremy tested that rather recently! The symptom reported was, with security = domain and password server = <the SLS server>: > . When I try to validate > a login on the samba box against the SLS SAM, I receive the
1998 Sep 23
1
Project Cascade?
Hi all. I was wondering if anyone has heard of the new Sun product called Project Cascade? You can find more information about it at a link directly off the main sun.com page. I'm curious as to whether or not it will be as good as samba, and if people are going to think that an equivilent hasn't been around for quite some time... Dave
2008 Jan 16
0
[CruiseControl] RubyOnRails build 8649 failed
The build failed. CHANGES ------- Revision 8649 committed by gbuesing on 2008-01-16 20:07:10 Introducing DateTime #utc, #utc? and #utc_offset, for duck-typing compatibility with Time. Closes #10002 M /trunk/activesupport/CHANGELOG M /trunk/activesupport/lib/active_support/core_ext/date_time/calculations.rb M /trunk/activesupport/test/core_ext/date_time_ext_test.rb TEST FAILURES AND
2005 Sep 08
0
How to cascade dial status back through IAX
On machine A I have something like the following in extensions.conf: [iax-extensions] exten => _9.,1,Dial(IAX2/machineB/${EXTEN:1}@mycontext) exten => _9.,2,NoOp(DIALSTATUS=${DIALSTATUS}) exten => _9.,3,Hangup On machineB I have something like this: [mycontext] exten => 2002,1,Dial(SIP/2002,60) exten => 2002,2,NoOp(DIALSTATUS=${DIALSTATUS}) exten => 2002,3,Hangup If I use a
2006 May 17
8
Why can''t I change value of the primary key?
One should be able to change the value of a primary key, right? But it''s not working for me. If I do this: @drug = Drug.find(tid1) @drug.id = tid2 @drug.category = ''Test2'' if @drug.save savedok = ''Saved successfully'' else savedok = ''Not saved'' end I get ''Saved successfully''