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

9 views
Skip to first unread message

Manuel Menezes de Sequeira

unread,
Oct 3, 2011, 12:10:06 PM10/3/11
to rubyonra...@googlegroups.com
Hi all,

The tag "<notextile>" (together with <tt> and </tt>) appears in some of the regular expressions in examples of the Active Record Validations and Callbacks guide. The corresponding textile code contains "<plus>". Anyone knows how to correct this problem?

--Manuel

Vijayakumar D

unread,
Oct 4, 2011, 3:50:16 AM10/4/11
to rubyonra...@googlegroups.com
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 <plus> 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 <notextile> 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


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Documentation" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-docs/-/lBaqQFbRLJAJ.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-do...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-docs?hl=en.

Manuel Menezes de Sequeira

unread,
Oct 4, 2011, 8:21:52 AM10/4/11
to rubyonra...@googlegroups.com
Thanks! How can I generate the HTML from the textile source?

Manuel Menezes de Sequeira

unread,
Oct 4, 2011, 12:58:02 PM10/4/11
to rubyonra...@googlegroups.com
Oh, well... I should have read the How to Contribute? section more carefully:
 bundle exec rake generate_guides
Reply all
Reply to author
Forward
0 new messages