-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add guides to rbis #1228
Add guides to rbis #1228
Conversation
Since @adisonlampert is away this week, I'll continue this PR. |
e9405a3
to
aba75a9
Compare
1771593
to
95964ef
Compare
95964ef
to
1756f03
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have an issue for adding guide links to other parts of Rails (controllers, jobs, routes)?
@vinistock For follow up tasks, I've created https://github.com/Shopify/ruby-dev-exp-issues/issues/675 for it. |
1756f03
to
b19e152
Compare
Motivation
Worked on this during group pairing last week and today.
https://github.com/Shopify/ruby-dev-exp-issues/issues/642
Implementation
Added
comments
tocreate_method
so that guides could be passed intoRBI::Method.new
which already takescomments
as a parameter.This a screenshot from
code-db
inapp/models/project.rb
Here, "Rails Guides" links to the official Rails guide on
has_many
associations since a projecthas_many
snapshots.Tests
Test haven't been updated yet.
Thoughts?