Skip to content
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

Better #22

Merged
merged 13 commits into from
Feb 14, 2017
Merged

Better #22

merged 13 commits into from
Feb 14, 2017

Conversation

jbasdf
Copy link
Contributor

@jbasdf jbasdf commented Feb 14, 2017

No description provided.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 99.855% when pulling 8983f27 on better into 6aeccb8 on master.

@@ -3,7 +3,7 @@ class Api::ApplicationsController < Api::ApiApplicationController
load_and_authorize_resource :application

def index
render status: 200, json: @applications
render status: 200, json: @applications.lti
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@applications would be an array of activerecord models. So what is .lti doing here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It filters the application to just applications of type 'lti'. It's provided automatically by rails because of the enum type in the model.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ahh, I didn't know that. cool stuff.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 99.855% when pulling 08a1ce5 on better into 4652e02 on master.

Copy link
Collaborator

@bfcoder bfcoder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 85680c5 on better into ** on master**.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 99.855% when pulling 85680c5 on better into 8f9290f on master.

@jbasdf jbasdf merged commit 7af8927 into master Feb 14, 2017
@jbasdf jbasdf deleted the better branch February 14, 2017 21:40
bfcoder added a commit that referenced this pull request Oct 3, 2017
Add migration to change integer to bigint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants