Software Engineering in WordPress, PHP, and Backend Development

Author: Tom (Page 409 of 427)

Dynamically Creating Anchor Attributes

I was recently tasked with setting up a payment form that would span across two pages. The second form was dependent on information from the first so I needed to pass some data via the query string in order to update the second form.

After completing the first page of the form, the user would click an anchor and then be directed to the second form. Continue reading

Adding :confirmable To Users in Devise

Update 2/16/2012: I’ve posted this to an article on the Devise wiki. It’s likely that the article will continue to be updated by the community on GitHub. If this article appears out of date, refer to the wiki.

One of the challenges of working with Devise is that you may end up introducing functionality into the authentication layer long after initial requirements have been built.

I recently needed to add email notifications for user account creation. That worked fine, but all of the existing user accounts were left unconfirmed.

Continue reading

Sending Email with Devise on Site5

Site5 is my host of choice when it comes to Ruby on Rails hosting. At this risk of sounding like a sponsored post, their dashboard, hosting options, customer service, and uptimes are solid.

I’m working on a project in which I’m using Devise for the authentication system but had a bit of a time getting the application to properly send email notifications.

According to Google results, this seems to be a relatively common problem so I’m sharing my configuration options here:

Continue reading

« Older posts Newer posts »

© 2025 Tom McFarlin

Theme by Anders NorenUp ↑