-
Notifications
You must be signed in to change notification settings - Fork 4
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
Adding project on the fly when tracking donations #49
Conversation
Conflicts: Gemfile Gemfile.lock
Hey @jorgesancha I have merged the latest master commits in your branch fixing a couple of conflicts. I'll take a look at what you mention about the errors later. |
Thanks @ferblape , ping me on whatsapp if you want to do a hangout or sthg. |
I'm slowly progressing on this one, but it'll be ready for the weekend. I'm I'm also taking advantage of this PR to refactor a bit the cookies thing On Wed, Dec 10, 2014 at 10:02 AM, Jorge Gomez Sancha <
|
Thanks Fer! I tried accepts_nested_attributes_for but had problems with strong parameters and thought maybe it wasn't for a belongs_to association. Looking fwd to see how you address it Sent from my iPhone
|
Apart from that, a few refactors in the method that sets the parameters of the donation in the cookies when the user is not logged in
Merged and released! |
Maybe there is something left to merge? I'm getting:
|
I'm afraid I broke that template. Before my changes, was the name of the project in that forma an autocomplete field? |
The simple fix is this one: https://github.com/furilo/trackdons/compare/fix-projects-form?expand=1#diff-0 But I'd like to understand what was the previous code doing. On Tue, Dec 16, 2014 at 10:17 AM, Álvaro Ortiz [email protected]
|
Its just from the previous gem for the autoselect, hence it can be removed. On Wed, Dec 17, 2014 at 8:25 AM, Fernando Blat [email protected]
|
Can projects be created without being logged in? On Wed, Dec 17, 2014 at 8:56 AM, Álvaro Ortiz [email protected]
|
Instad of integrating select2, what do you think about this interaction? This is the PR: #55 |
Great @ferblape. Maybe we could make that the text that appears contains a link so you can go and visit the said project? |
BTW, regarding if anyone can create a project, I would leave that way until we encounter user vandalism ;) |
Done! Are you planning to add pictures to the projects? On Wed, Dec 24, 2014 at 11:21 AM, Álvaro Ortiz [email protected]
|
This PR addresses #6 and #44. In summary, it is now possible to add projects on the fly when tracking donations.
There is still some work to do. We can either create new issues or commit more into this branch: