• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux RailsTidy Download

RailsTidy

February 16, 2006
RailsTidy is a Ruby On Rails plugin that helps in organizing code and syntax to make it easy to read and maintain.
Version 0.1
License MIT/X Consortium License
Platform Linux
Supported Languages English
Homepage blog.cosinux.org
Developed by Damien Merenne
RailsTidy is a plugin designed for Ruby On Rails. It offers multiple key features that make it stand out from the crowd. Among these features, users can validate their rhtml templates, validate the html output of functional tests, and clean generated html.

In order to use RailsTidy, it is necessary to meet a few requirements. Firstly, users will need to have Tidy, the popular HTML validator. Secondly, RubyTidy, which provides Ruby bindings for Tidy, will need to be installed as well. The installation process is straightforward, as users simply need to unpack the plugin into the vendor/plugin folder.

The Ruby bindings for libtidy will need to know the path to the file libtidy.so. In most cases, this file can be found at /usr/lib/libtidy.so. However, if this is not the case, users can add RailsTidy.tidy_path = "/path/to/your/libtidy.so" to their environment file.

When it comes to configuration, if the file config/tidy.rc exists, RailsTidy will use it to configure Tidy. If you want to use another file, you can put RailsTidy.tidy_configuration = "/path/to/a/tidy/configuration/file" in your environment file.

Using RailsTidy is also relatively simple. For validating templates, users can simply use $ rake test_templates. By default, the plugin will parse all *.rhtml files in the app/views directory. If users want to validate only one file, they can use $ rake test_templates FILE="path/to/the/file". If $FILE is a directory, it will search for all *.rhtml files in it and try to validate them. If $FILE is a regular file, it will be validated. If $FILE does not exist, RailsTidy will try ".rhtml" appended to $FILE, the app/view directory prepended to $FILE, and the app/view directory prepended and ".rhtml" appended to $FILE.

To validate html output, RailsTidy adds a new assert_tidy method to the Test::Unit::TestCase class. Users can call it with no arguments to validate the last response returned by a test. For example: get :index, assert_success, assert_tidy.

Finally, the plugin allows users to clean the html produced by rails. To enable this feature, an after filter must be used in the app/controller/application.rb file. Note that enabling the filter may cause a significant performance impact. It is not recommended to use this feature unless absolutely necessary.
What's New

Version 0.1: N/A

Free Download 11K
334
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    154
  2. Dvgrab 3.4
    102
  3. DynVPN 1.0
    89
  4. CherryTV 0.1
    81
  5. SlideMap 1.2.2
    80
  6. porm r2
    73
  7. Clewarecontrol 0.8
    72
  8. Java Games 1.0
    72
  9. Swiftfox 3.0b5pre-2
    71
  10. fuseftp 0.8
    71

Related Downloads

phpShare
phpShare is a software solution that offers a PHP-powered file explorer tool.
Qtarot
"Qtarot" is a tarot reading and teaching software that utilizes the Qt ...
HackNet
HackNet is a roguelike game that is played over a network.
Holtz
This software is a digital version of Z�rtz and Dvonn, two abstract ...
IFT
IFT is an uncomplicated software that serves as a flight simulator.
RIMPS
RIMPS is a web-based server that supports both MP3 and Ogg file ...
amf
AMF is a UNIX MP3 player that serves as a user-friendly front-end ...
Miami Heat Theme
The Miami Heat Theme for Firefox is a browser extension that allows ...
The Korfball Toolbar
"Get international korfball news with ease with our software." (10 words)
Spell Checker
This software scans web pages and identifies spelling errors, providing highlighting to ...
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.