-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
User mailer #163
User mailer #163
Conversation
Hi there, and welcome to the open source world! :-) As for this pull request there are a few things:
Thanks again and have a great weekend! :-D |
@@ -15,6 +15,9 @@ gem 'jquery-rails' | |||
gem 'mongo_mapper' | |||
gem 'bson_ext' | |||
|
|||
gem "letter_opener", group: :development | |||
|
|||
|
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.
We only need one blank space here!
First of all, thank you so much! We really need this feature. I'm really happy you're contributing it. Second, I left a bunch of little comments. Lots of these are style kinds of questions, so they're not wrong, per se, just trying to keep them in line with the rest of the project. :) Tobi's feedback is also good, please get rid of the files that do nothing and make sure the tests work! ❤️ 😄 |
Thanks Steve for your feedback! =) So in case you are wondering how to get the changes in, you can just make them locally (on the branch from which you sent this pull request), commit them, and then push again. They will be automatically added to this pull request. Cheers + thanks for all the work, |
Thanks both of you and thanks for the corrections!! |
@hcarreras argh stupid writing, small but important word why missing there. sorry. Correct version should be: "at a first glance I don't see why you implemented the index action for User - what is it used for (it is cool to have, just want to understand :-) )" (corrected it in my comment above). I was just asking because I saw that you implemented that action but couldn't see the direct relation to the general purpose of this pull request. |
@PragTob Oh! I understand now! |
let(:message) { Fabricate(:message)} | ||
|
||
it "is from Steve" do | ||
message.from.should eq(["steve@hackety.com"]) |
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.
The test give an error here, but I don't know why...
In message_mailer model I have:
default from: "steve@hackety.com"
Any idea why?
Oh I've just seen this. The next time you make corrections please comment another time, then I get a notification that something happened. Don't get that for pushes. But thanks a lot looks good now, will just remove the 2 files with only pending specs :-) |
So thanks a lot again for your work! It's merged now :-) ❤️ |
This is a solution for the issue 32: #32 email updates.
Is my first contribution to a open source project so please tell me any advice.
Thanks