Last week I’ve migrated a Django application from version 1.04 to 1.6.Among the many methods deprecated, starting from version 1.5 all generic views based on functions have been...
Read moreLast week I’ve migrated a Django application from version 1.04 to 1.6.Among the many methods deprecated, starting from version 1.5 all generic views based on functions have been...
Read moreI recently had to implement a view with the classic search form with two select dependent on each other. My aim was to leave the page as clean as possible and make the code tha...
Read more Did you never ask yourself if there is something that can really change your way of working? Do you think that something can really have a big impact in your life?Somet...
Read moreHello everyone! For those not familiar Disqus is a platform that allows you to easily insert a box for comments on any website and allows users to use the their Facebook or Twi...
Read moreWill Paginate is a great and widely used gem for pagination in Ruby on Rails. Sometimes you need to paginate multiple list on the same page. This tip show you how to put a lis...
Read more[** UPDATE: 21/01/2013 **]: Thanks to Kevin Triplett now there's a Devise wiki page referencing this post and combining the comments. Please check this wiki page, especially if...
Read moreEvery time you create a web application where users can register, it is good to exclude some login or username so that they can not be used. A classic example is the login "adm...
Read moreHello everyone.With today’s article I want to show how to implement two dropdowns dependent on each other using Django and jQuery.Suppose we have a 1-N relationship between car ...
Read moreIn my last post I talked about Ruby's hash. Today I will resume and complete the argument by describing some of the things you can do to manipulate the hash values. 1. How to i...
Read moreHello everyone.In this article I will show you how to create a custom feed in Django, using the Django Syndication Feed Framework 1.2 or higher.I’ve had to create an XML with so...
Read moreThe most famous framework based on Ruby language, Ruby on Rails, makes extensive use of hash. And cause in our blog we talk mainly about development with Ruby on Rails it seem f...
Read moreToday I want to present a very convenient jQuery plugin I’ve used to create a combo box with checkboxes for a multi-selection field.Suppose we have a form of insertion / modific...
Read moreIn some projects can happen that you have to use different graphic templates for different methods of the same controller. At first sight one would implement a solution that pro...
Read moreWith the today’s post I shall conclude my series on Ruby On Rails Best Practices . This is not because the required topics are completed, but rather because after the release of...
Read moreMigrations, in my opinion, are one of the best things in Rails since these allow the creation and populating the database using ruby code without having to worry about which typ...
Read more