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

Speed Up people_controller#index and fix spec suite #112

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

yez
Copy link

@yez yez commented Oct 4, 2017

Addresses #111

I used SqlLite EXPLAIN to determine that a few tables included by
with_associations and found a few missing indexes on news_people and
events_people join tables.

There doesn't seem to be a CI server set up (like Travis), so running
the tests locally included upgrading a few gems, upgrading the Ruby
version and changing some specs.

Jake Yesbeck and others added 7 commits October 4, 2017 13:16
I used SqlLite EXPLAIN to determine that a few tables included by
`with_associations` and found a few missing indexes on `news_people` and
`events_people` join tables.

There doesn't seem to be a CI server set up (like Travis), so running
the tests locally included upgrading a few gems, upgrading the Ruby
version and changing some specs.
…adding additional tags, dynamic title based on page title), adding Twitter card tags
…nd_title_tags

Facebook/Twitter social sharing tags & page titles. Closes StartupWichita#65 

Thanks @lafentres 👍
@kentonh
Copy link
Member

kentonh commented Oct 5, 2017

@yez thanks for the contribution! This looks great, and I'm excited to have tests working again.
Upgrading the version of Devise and Rails is causing some problems. Is that something you'd like to look into and fix?

@kentonh
Copy link
Member

kentonh commented Oct 5, 2017

Actually, it was a simple enough fix for that issue, but I found a few more once that was resolved.

The date picker for Event start and stop times and the Tags field is completely gone.

@yez
Copy link
Author

yez commented Oct 5, 2017

The date picker for Event start and stop times and the Tags field is completely gone.

@kentonh I'm afraid I have no idea why this might be happening. My changes were limited to a migration and some spec fixes. It might have something to do with the upgrades but without real data I'm not sure how I'd diagnose that. Do you have a staging server you can put this branch up on or something to help debug?

@kentonh
Copy link
Member

kentonh commented Oct 6, 2017

@yez Yeah, I can push it up to a new instance and share it with you there. Probs will be tomorrow, however.

I think it's the Rails upgrade to 2.4.0 that causes errors with the acts_as_taggable and however the jQuery date picker.

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.

2 participants