James B. Byrne
Not a member
James B. Byrne's latest activity
Thursday, April 30 2009
-
James B. Byrne commented at 8:22 PMSorry for the late replay, I did not get an email notice when the ticket was updated, or missed it if I did.
The error was mine. I had the attr_protected set fo...
Thursday, April 02 2009
-
James B. Byrne created the ticket at 11:15 PMRails 2.3.2 gem
PostgreSQL 8.3.7
Situation:
Given a migration containing an index name with mixed case f.e. (idxU_name)
And given the DB adapter is postgresql
W...
Monday, March 23 2009
-
- Tag changed from 2.3.2, activerecord, attributes, defect to invalid
Please close. Invalid.
-
James B. Byrne commented at 7:44 PMThis appears to be dependent upon whether or not the model name forms part of the attribute name. So:
mi = Identity.new => ... mi.x_type = "A Type" => "A Type"...
-
James B. Byrne commented at 5:36 PMmi = me.identifiers.build => mi.code_type = "Xray" => "Xray" mi.code_type => nil mn = Identifier.new => mn.entity_id = 1 => 1 mn.code_type = "Whisky" ...
-
- Title changed from v 2.3.2 - appropriates attributed ending in _type and _value to v 2.3.2 - appropriates attributes ending in _type and _value
-
James B. Byrne commented at 5:31 PMLost example added:
Using write_attribute skips attribute= processing in model.
>> mn.write_attribute(code_type, "MixCase") NameError: undefined local varia...
-
James B. Byrne created the ticket at 5:27 PMIf a table has attributes ending in type or value then these attributes cannot be set.
Example:
class CreateIdentifiers < ActiveRecord::Migration def self...
-
James B. Byrne created the ticket at 7:52 PMIf one does this:
$ rake db:migrate VERSION=0 ...
followed by
$ rake db:migrate VERSION=0
Then all the pending migrations are applied, notwithstanding the V...
Tuesday, March 17 2009
-
James B. Byrne created the ticket at 7:58 PMIf a template, or nested templates, has both a call to content_tag_for Xobject and a call to form_for Xobject then these will both set the default css#id to xob...