I am just sharing this cool new plugin I heard from Greg Moreno in twitter. xss_terminate is a plugin in that makes stripping and sanitizing HTML stupid-simple. Install and forget. And forget about forgetting to h() your output, because you won‘t need to anymore. But xss_terminate is also flexible. By default, it will strip all [...]
This is for future reference to other rails developers that uses Passenger, (which might be helpful to beginners as well.) Steps: 1. create a symbolic link that points to your rails public directory from the DocumentRoot. 2. edit httpd.conf and add VirtualHost. a.) add DocumentRoot b.) add RailsBaseURI “< /rails-app-subdir > ” 3. edit environment.rb [...]
I was on board the jeep going to UN Avenue from Divisoria, when another passenger, a female college student, gave a 100 pesos bill to the driver as payment for the transpo. The driver then told the passenger if she had smaller bills. Because she had no smaller bills, she just gave the driver some [...]
Let me just cite some reasons why this plugin is so cool! 1.)It generates your registration page, and login page. You can opt for the user activation, hashing passwords. 2.)You may also integrate role_requirement plugin with restful_authentication plugin if you want user roles or even MULTIPLE user Roles! (A big thanks to Greg Moreno for telling [...]
I will explain myself (probably) on my next post why I have not been active on blogging. But for now, I want to share with you how I coded in Ruby on Rails to render static pages. It has been only two days when I really started Ruby on Rails coding, so I might (not) [...]