search for: otherthing

Displaying 7 results from an estimated 7 matches for "otherthing".

Did you mean: other_thing
2006 Apr 17
2
has_one problem in a form
Hello all, I have a syntax question. How does one refer to a field brought in via a has_one/belongs_to relationship in a form helper? Basically, I have two models: class Resource < ActiveRecord::Base has_one :other_thing end class OtherThing < ActiveRecord::Base belongs_to :resource end It has the normal id-resource_id foreign key relationship. OtherThing has two fields, plus the foreign key, call them field1 and field2. In the ruby console, I can access field1 a couple of ways: resource.other_thing.field1 resource.other_thing...
2006 Aug 15
2
has_many + finder_sql & :include
Hello, In a model I have: has_many :things, :finder_sql => '' select * from other_things '' + '' where id = #{id} '' When I do MyClass.find(:all, :include => :things) I get a weird error: from c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/abstract_adapter.rb:120:in
2020 Apr 27
2
[Bug 1424] New: v0.9.0: segfault when using nft -f <file> and issuing "ruleset flush" twice
...5 28 00 00 00 75 06 48 83 c4 30 5b c3 e8 53 a9 ff ff 0f 1f 00 41 56 41 55 41 54 49 89 fc 55 53 <8b> 7f 10 48 89 f3 e8 2a be ff ff 49 8b 4c 24 40 48 8d 35 e9 0f 04 Segmentation fault uname -a: Linux something 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5+deb10u2 (2019-08-08) x86_64 GNU/Linux Linux otherthing 4.19.0-8-686-pae #1 SMP Debian 4.19.98-1 (2020-01-26) i686 GNU/Linux /usr/sbin/nft --version: nftables v0.9.0 (Fearless Fosdick) strace is attached. -- You are receiving this mail because: You are watching all bug changes. -------------- next part -------------- An HTML attachment was scrubbed....
2007 Nov 01
4
MySql Errors On .save
Hi All, I am a real neophyte with Rails and am struggling with something. I hope you can point me in the right direction. I have a model of an object that class Thing< ActiveRecord::Base attr_accessor :locator_id has_one :otherthing has_one :differentthing end I can create and delete these things until the cows come home. However, trying to change the data and save/update I get a rendered SQL error in the form: ActionView::TemplateError (Mysql::Error: You have an error in your SQL syntax; check the manual that corresponds...
2009 Apr 10
0
ActiveRecord belongs_to ActiveResource
class Thing < ActiveRecord::Base belongs_to :other_thing end class OtherThing < ActiveResource::Base self.site = ... end The association here works. I can access other_thing from thing with no problems until, as usual, testing. Specifically functionally test the things_controller. The things controller is simple scaffold, however, having the association to an active re...
2013 Oct 23
1
[Bug 1552] Patch to log tunnel information
https://bugzilla.mindrot.org/show_bug.cgi?id=1552 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|2130 | --- Comment #15 from Damien Miller <djm at mindrot.org> --- This needs more design and probably a new
2007 Mar 31
2
Issue joining a PC to a Samba domain from a subnet other the one that Samba PDC
Hello, Thanks in advance for taking the time to look at this issue. We are currently experiencing an issue with PC's not being able to join a Samba PDC controlled domain when the PC's are located outside of the subnet that the Samba PDC is part of. The PC's are located in the same physical building as the PDC, connecting over a Cisco VLAN to the Samba PDC subnet. For example, the