<plus> produces <notextile> in the Active Record Validations and Callbacks guide

Hi all,

The tag “” (together with and ) appears in some of the regular expressions in examples of the Active Record Validations and Callbacks guide. The corresponding textile code contains “”. Anyone knows how to correct this problem?

–Manuel

Hi Manuel,

I guess you are looking at http://guides.rubyonrails.org/active_record_validations_callbacks.html#numericality (for example) and the corresponding code in master. Actually, the markup is the fix for the problem which can be seen in http://edgeguides.rubyonrails.org/active_record_validations_callbacks.html#numericality (again example)

The output in guides.rubyonrails.org correspond to the code in v3.1.0 (last stable release) and had some bugs where the tags crept in. This is fixed here: https://github.com/rails/rails/commit/27f1320fde03279c575693f504897f1a6171bc59 and will be available in guides.rubyonrails.org when the next release happens.

Regards
Vijay

Thanks! How can I generate the HTML from the textile source?

Oh, well… I should have read the How to Contribute? section more carefully:
bundle exec rake generate_guides