Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Javix's latest activity

Saturday, March 19 2011
6580 attribute_methods.rb:273: syntax error, unexpected tGVAR, expecting $end was updated in Ruby on Rails
  • Javix
    Javix commented at 8:33 PM

    Hi Santiago, I'll be able to test the patch next Monday only. I have no Oracle on my Ubuntu OS.
    Second point, as for the DB schema, I don't have it at all. It's...

Friday, March 18 2011
6580 attribute_methods.rb:273: syntax error, unexpected tGVAR, expecting $end was updated in Ruby on Rails
  • Javix
    Javix commented at 1:12 PM

    Right, I used oracle enhanced adapter: activerecord-oracle_enhanced-adapter (1.3.2), ruby 1.9.2p180 (2011-02-18) [i386-mingw32], rails-3.0.5, all that on Window...

  • Javix
    Javix commented at 1:09 PM

    I took the 'attribute_methods.rb' file from https://github.com/rails/rails/blob/master/activemodel/lib/active_m....

    Run the same Ruby script and got another er...

  • Javix
    Javix commented at 8:09 AM
  • Javix
    Javix commented at 8:09 AM

    Hi Santiago !

    Just checked it again(see the attached file I run) and got the below error:

    C:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.5/lib/active_rec...
Thursday, March 17 2011
6580 attribute_methods.rb:273: syntax error, unexpected tGVAR, expecting $end was updated in Ruby on Rails
  • Javix
    Javix commented at 2:39 PM

    I've just copy-pasted the updated version of 'attributes_methods.rb' file and got the below error. In the DB there is a column named ad 'blob$entrysetadhocacl?'...

Wednesday, March 16 2011
6580 attribute_methods.rb:273: syntax error, unexpected tGVAR, expecting $end was updated in Ruby on Rails
  • Javix
    Javix commented at 1:32 PM

    I modified the 'define_attribute_methods' in 'activemodel-3.0.5/lib/active_model/' as follows just for 'quick fix':

    def define_attribute_methods(attr_names)
      ...
  • Javix
    Javix commented at 1:05 PM

    I think the problem is that in case if a column name contains a special character, in my case it is a dollar sigh ($), the code in active_model/attribute_method...

Tuesday, March 15 2011
6580 attribute_methods.rb:273: syntax error, unexpected tGVAR, expecting $end was updated in Ruby on Rails
  • Javix
    Javix commented at 4:26 PM

    Even trying to read an attribute value after defining it explicitly, gives the error:

    require 'rubygems'
    require 'active_record'
    
    ActiveRecord::Base.establish_...
  • Javix
    Javix commented at 3:55 PM

    Here is the code (almost the sameĆ  that work fine on MySQL:

    require 'rubygems'
    require 'active_record'
    
    ActiveRecord::Base.establish_connection(
      :adapter => ...