Closure in Javascript, Ruby and Python 01 Oct 2014 Javascript Ruby Python functional programming Closure in Javascript, Ruby and Python Closure is after an outer function returns, when inner function is called, it still has access to the outer function's defined variables. In
Button Behavior Inside a Form 10 Sep 2014 Ruby on Rails HTML Button Behavior Inside a Form A form is usually associated with a submit button. In Rails, you typically have a form specified as following: (if use form_for helper) <
Set Up Cron Jobs in Rails 22 Aug 2014 Ruby on Rails Set Up Cron Jobs in Rails Recently I came to a situation where I need to take an action based on time. For example, a web application helps organizing an event
Write a Helper Extension 01 Aug 2014 Ruby on Rails Write a Helper Extension In Rails development, it comes often that you want to add/remove certain function that Rails pre-defined. For example, if you use Bootstrap 3, to
Some testing functions with MiniTest and Capybara 10 Jul 2014 Ruby on Rails testing Some testing functions with MiniTest and Capybara I'm testing this piece of Rails HTML code and its click function: <tr> <td class="arrow-uped" id="