Just posted a writeup on how to add Token-based API authentication to your Rails app, including some gotchas I found while integrating the devise_token_auth to the menudiar.io site. Any other token auth solutions you know about?
This post is part of an ongoing feature about creating a social network in Rails. Any modern Rails web app will need an API to power mobile and/or desktop clients, and maybe even a SPA later on. The devise_token_auth gem adds...
Well, it doesn't have to actually send an email if you don't want it to. You could just have it work like any other form. The feedback could go straight to your DB, and you just check on it periodically. Really the only reason you want to get the email address is so you have the contact information you need in order to respond to the feedback.
If you want the simplest way to send an email, check the documentation for ActionMailer. It's built into Rails. It's not necessarily the best solution depending on what you want, but it's a fine starting place for the simple thing you're talking about.
We are currently working on a new #Rails site for hosting our projects. I considered using #RSpec , #FactoryGirl and maybe #Capybara , but I am not sure if it's worth the effort. Maybe you could report about your experiences to help me taking the right decision.
If you advise me to use it, I would appreciate posting tutorials! Thanks! :D
Get an introduction to the server configuration, orchestration and deployment tool Ansible. Learn about Playbooks, Plays, Tasks, Modules, Handlers, Variables, Templates, Facts and Roles.
Add a comment...
About this community
Rails, with a focus on technical news and cool articles from the people in the community.
Certain types of posts tend to be off-topic for this community:
> Job postings or solicitation of work
> "X vs. Y" posts - community members are generally able to judge for themselves, and these types of posts often start flame wars for no reason
> Advertisements for commercial services
> Links with referral codes (esp. where the poster stands to benefit)
> Repeat usage of the community for self-promotion
> Posts from an organization, rather than an individual
> Posts that are about more general programming topics, and are specific neither to Ruby, nor Rails