Ruby Naming Conventions Local VariablesLowercase letter followed by other characters, naming convention states that it is better to use underscores rather than camelBack for multiple word names, e.g. mileage, variable_xyz Instance VariablesInstance variables are defined using the single “at” sign (@) followed by a name. It is suggested that a lowercase letter should be used… Continue reading Naming conventions on Ruby & Ruby on Rails
Hosting Ruby on Rails on Amazon Web Services.
Using Amazon SES to Send Emails from Rails.
Please refer the following for Ruby on Rails best practices on the security. CSRF and XSS are the most important ones:- 1) CSRF – https://selvaonrails.wordpress.com/2012/04/03/ruby-on-rails-security-csrf-3/ 2) XSS – https://selvaonrails.wordpress.com/2012/04/03/ruby-on-rails-security-xss-2/ 3) Protection flags on cookies – https://selvaonrails.wordpress.com/2012/04/03/ruby-on-rails-security-protection-flags-on-session-cookies/ 4) Filter parameter logging – https://selvaonrails.wordpress.com/2012/04/03/ruby-on-rails-security-filtering-parameter-logging/
Prevent logs of sensitive unencrypted data using #filter_parameter_logging in controller. The default behavior is to log request parameters in production as well as development environment, and you would not like logging of password, credit card number, etc. Ex:- filter_parameter_logging :password, :confirm_password
TaskJungler is a gem available for Ruby. TaskJuggler is a modern and powerful project management tool. Its new approach to project planning and tracking is far superior to the commonly used Gantt chart editing tools. TaskJuggler uses one or more text files to describe a project. The main project should be placed in a file with the… Continue reading TaskJungler for maintaining todo list