search for: read_override

Displaying 2 results from an estimated 2 matches for "read_override".

2009 Sep 23
5
Overriding AR read/write_attribute - Overridden write_attribute Is Never Called
Could someone explain this? #config/initializers/ar_attributes.rb module ActiveRecord module AttributeMethods alias_method :ar_read_attribute, :read_attribute def read_attribute(attr_name) p "read_override" ar_read_attribute(attr_name) end alias_method :ar_write_attribute, :write_attribute def write_attribute(attr_name, value) raise ''You made it!'' end end end In the Rails console: >> person.read_attribute :name "read_over...
2016 Mar 02
0
Debugging second dvi output on quadro fx380 not working
...3.965354 MMIO32 R 0x100b28 0x00048521 PFB+0xb28 => 0x48521 [0] 443.965372 MMIO32 W 0x100b28 0x0000223a PFB+0xb28 <= 0x223a [0] 443.965390 MMIO32 W 0x100e04 0x80020d01 PFB+0xe04 <= 0x80020d01 [0] 443.965413 MMIO32 R 0x001098 0x21ca003c PBUS.DEBUG_6 => { HWSQ_ENABLE | HWSQ_OVERRIDE_MODE = READ_OVERRIDE | CLOCK_GATING_1588 | 0x21ca0004 } [0] 443.965431 MMIO32 W 0x001098 0x21ca0034 PBUS.DEBUG_6 <= { HWSQ_OVERRIDE_MODE = READ_OVERRIDE | CLOCK_GATING_1588 | 0x21ca0004 } [0] 443.965450 MMIO32 W 0x001304 0x00000000 PBUS.HWSQ.ENTRY_POINT <= { 0 = 0 | 1 = 0 | 2 = 0 | 3 = 0 } [0] 443.965469 MMIO32 W...