Skip to main content

Newsletter Sign Up Form with country_select Discussion

General • Asked by Chris Oliver

Well I for one appreciated this :)


Loved the concrete implementation of a feature, but I certainly wouldn't be opposed to some in-depth Javascript (or even CoffeeScript).

Definitely plan on doing more Javascript / CoffeeScript soon.

That would be awesome!


@Chris It might be a bit ambitious, but what are your thoughts on making a screencast deconstructing a rails app(just using plain ruby)? I completed a PHP project last month without the use of a framework for the first time ever and it really opened my eyes to how the MVC construct works. It helped me understand the relationship between the pages, how variables are sent from controller to view, and I was able to identify more clearly, "okay this page is a view, this is a controller, etc". just a suggestion!

Yes!! I'm definitely planning on doing a "Rails-from-scratch" series so you can see exactly how all this comes together from just regular old Ruby. Really looking forward to it but need to get it all mapped out beforehand.

S K Chowdhury Masum

Rails-from-scratch! sound great when I will see that series live?

Pretty soon! It's a lot of content so I need to make sure I plenty of time to plan it all out.

S K Chowdhury Masum

i just started counting for that glorious moment!

yeah it would be very helpful


Great video. Thanks for sharing. This has been something that I was curious about for a while. Personally, I had one of those "duh" moments where a couple of Rails concepts that I was struggling with came together (even though they weren't directly targeted in this video). Thanks for the help!


Manuel Quintanilla

setting up mandrill with something like this? trying to get an email sent everytime someone submits their name and email information


Very useful, I learned a lot from this video. Thank you :D


great video, thanks! What happens though with the form data that was submitted? Is it displayed in a view, or is it send to an email address?

I'm asking this because a client as me to implement a sign-up button for a newletter on his Rails application.

This video looks great to get me started implementing this sign-up form. But I'm not sure on how to process the submitted data.
Any advice is welcome,

greetings,

Anthony

In this case, the information is just saved to the database so you could do what you want with it.

yeah, I just read out the subscription emails in the admin section of my application. Maybe it would be handy to have a function that copies all the subscriptions to the local systems clipboard so they can easily be pasted somewhere else.

there's one issue with the above implementation. After signing up, the success message is always shown. Is there a way to only show the success message once, when signing up successfully?


Hi Chris, it's really useful video, thanks a lot
I want to ask on how to generate PDF for this submitted newsletter form?
I have a client asking me to enable a feature that after visitors clicked the submit button, visitors can receive PDF from the form they filled in.


Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 27,623+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.