Documentation correction #839

Closed
lighthouse-import opened this Issue May 16, 2011 · 5 comments

3 participants

@lighthouse-import

Imported from Lighthouse. Original ticket at: http://rails.lighthouseapp.com/projects/8994/tickets/6409
Created by daniel lo - 2011-02-10 23:04:15 UTC

Greetings,

In this URL: http://api.rubyonrails.org/classes/ActiveRecord/Base.html#method-c-set_table_name

The documentation for table_name is missing ... something... See vvvv => a few lines down

class Invoice < ActiveRecord::Base; end;
file class table_name
invoice.rb Invoice invoices

vvvv => Here it IS ... there are 2 end; end at the line, but no extra class or module

class Invoice < ActiveRecord::Base; class Lineitem < ActiveRecord::Base; end; end;
file class table_name
invoice.rb Invoice::Lineitem invoice_lineitems

Regards,

Daniel

@vijaydev
Ruby on Rails member

What was the issue again? The earlier code was definitely hard on the eyes. But, I can't see any error there. I'm missing something?

@Karunakar

Made changes to more readable. As you see it hard on eyes to read and understand

@vijaydev
Ruby on Rails member

Yes. I agree with that. But I cant see what was the error as reported in the ticket.

@Karunakar

The Bug Description is not clear. But the documentation is not clear.

@Karunakar

Yeah i agree with you vijay. We just made the changes for more readable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment