Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 947379
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T23:04:27+00:00 2026-05-15T23:04:27+00:00

As one tiny part of making authoring html emails less painful, I’d like to

  • 0

As one tiny part of making authoring html emails less painful, I’d like to be able to view what I’m making without sending it to myself. This will also help later, with an “Email not displaying correctly? View it in your browser!” link.

I’m working with Rails 3 (thus far ActionMailer 3.0 is a delight) and have an email model called “Notifications” with an action “new_composition”. This sends correctly, but is currently quite ugly. I’d like to pretty it up without sending myself 37 emails.

I would expect localhost:3000/notifications/new_composition to get me there, but no route matches that. And I’m not good enough with my rails routing fu to figure it out (simply adding get "notification/new_composition" obviously isn’t right, since the email model isn’t a controller).

Danka.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T23:04:28+00:00Added an answer on May 15, 2026 at 11:04 pm

    I just made a controller called NotificationsController that supplies dummy variables for the values that the mailer model would usually supply. It works pretty well, though it seems a little wet (that is, not DRY) to me.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

As I only get one very very tiny part of the PHP phenomenon I'm
I need to start a new project based on one tiny part of an
I am screwing around with a tiny script I am making and one thing
I'm working with the very-useful ID3 framework in my cocoa project. There's one tiny
Anybody knows proper python implementation of TEA (Tiny Encryption Algorithm)? I tried the one
I am new to php and sql, and i have one tiny question about
I have an equation that is only a tiny bit too wide for one
I found this one: http://tiny-cobol.sourceforge.net/download.php Not sure to undestand how to install it on
One part of my app shows a landscape, but it's kinda boring as of
I want to write a lot of tiny example programmes for one same library,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.