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

Add excel exports on events #205

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

Conversation

aayush19saxena
Copy link
Contributor

Hey @mattharris5 and @mitchellharper12 , I was looking to add excel export feature on a particular event. I am not really familiar with how the gem works, so I followed along the lines of how it was being used on mentor.rb.

@aayush19saxena
Copy link
Contributor Author

When I download and open the excel file, it says the file is corrupted..

@mattharris5
Copy link
Member

Unfortunately it always gives that corruption message... but actually the file is just fine and it seems to be an erroneous error

@aayush19saxena
Copy link
Contributor Author

Oh really? I see.. Is there a way I could test this with some sample data?

@mattharris5
Copy link
Member

mattharris5 commented Jun 20, 2016

You can generate a bunch of test data using the fabricators that are setup in test/fabricators. Use the PopulateSampleData class to generate sample data in dev. It doesn't currently fabricate event data, but that would be a great idea. Take a look and you can probably figure out how to add an events fabricator. Maybe look at test/fabricators/scholarship_application_fabricator.rb as a starting point for how that works.

@aayush19saxena
Copy link
Contributor Author

Thanks Matt, looking forward to working on that.

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

2 participants