Paul_revere

screenshot of Paul_revere
rails

A library for "one off" announcements in Rails apps.

Overview:

The Paul Revere gem is designed for Rails applications to easily include "one off" announcements. It provides a model called Announcement, view helpers, and view partials to display announcements to site users.

Features:

  • Model: Announcement with timestamps and a "body" text column
  • current class method returns the latest announcement or a new unsaved instance
  • view helpers: #current_announcement and announcement_visibility_allowed?
  • view partials: _public_announcement, _private_announcement, and _email_announcement
  • Installation via Gemfile and migration setup
  • Usage: including announcements in view and mailer code
  • License: MIT License for redistributing under specified terms
rails
Ruby on Rails

Ruby on Rails, often referred to as Rails, is an open-source web application framework written in Ruby. Known for its convention over configuration and don't repeat yourself (DRY) principles, Rails simplifies and accelerates the development of database-backed web applications.