In the last days we have spent a bit of our time to do a full redesign of our website and our blog.
The result is what you are looking while reading this article.
Specifically, the innovations we introduced in both the theme of the blog and the web site are:
Wider layout splitted into two columns also [...]
Tags: DevInterface, JQuery, restyling, ruby on rails, web2.0, wordpress
Posted in General, Road to DevInterface |
Hello everyone.
I’d show a workaround to send email asynchronously using Devise and Rails3.
Suppose we have already up and running our application with Devise and delayed_job correctly installed.
A first attempt was to add in config/initializers the following file (devise_async.rb):
12345678910111213141516#devise_async.rb
module Devise
module Models
module Confirmable
handle_asynchronously :send_confirmation_instructions
end
module Recoverable
[...]
Tags: asynchronous, delayed_job, devise, rails, rails3, ruby on rails
Posted in Development, Ruby |
Hello 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 brands and car models: we want to show the list of brands in the first dropdown; then once you have selected a brand, the second dropdown will [...]
Tags: ajax, django, JQuery
Posted in Python |
In 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 iterate over Hash elements
The Ruby Hash class provides three different iterators: each, each_key, each_value.
There is actually a fourth iterator, each_pair but it is [...]
Tags: hash, ruby, ruby on rails, sorting, tutorial
Posted in Development, Ruby |
Hello 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 some more tags for each item in the feed.
In particular, in addition to the usual tags present in an
RSS feed, I’ve added [...]
Tags: django, feed, xml
Posted in Development, Python |
COMMENTS