Notes posted by bparanj
RSS feed
0 thanks
dealing with semicolon
Use tag! method if you have semicolon, for example:
xml.tag!(“atom:link”, “href”=>“http://rubyplus.com/episodes.rss”, “rel”=>“self”, “type”=>“application/rss+xml”)

0 thanks
rails date_select examples
I have combined some of the tips here: http://www.rubyplus.net/2016/11/rails-dateselect-examples.html

0 thanks
Examples corrected
I have documented this method clearly with corrections to the examples shown in this page on my blog: http://www.rubyplus.net/2016/11/aliasmethod-in-ruby.html

0 thanks
customizing text when using label in a form
Instead of the default text Email you can change it to “Primary Email” like this: f.label :email, “Primary Email”