Ruby on Rails Tuesday, November 24, 2015

hi, im doing a conversion and im stuck here:

class GLEntryVatEntrylink < ActiveRecord::Base
    self.table_name = 'G_LEntry-VATEntrylink'
end


>>
1.9.3-p194 :001 > GLEntryVatEntrylink.all
NameError: uninitialized constant GLEntryVatEntrylink
        from (irb):1



whats wrong here?


thx




--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMdXu0ZWUYwKQgr3GWJytHoCjm1%2BNn592FdoEp8iG3oQCg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment