Welcome to Gaugeus Ramblings




 

Model Translation: Globalizing a Ruby on Rails Application by Adding Multilingual Support to the Models through Globalize's External Table or the Internal Storage Mechanism

Using the globalize plug-in for Ruby on Rails out-of-the-box makes it easy to add support for various languages. It can handle the management of translated terms and translation of models (displaying the content coming from the database in the selected language). This article gives a brief introduction about to how to implement model translation with globalize in an actual application.

| Posted on December 17th | 1 comment | View full article
Filed Under: Ruby on Rails

 

Who am I? Am I my Blog?

In this post I speculate about the implications of having a social graph outside of specific social networks, creating your digital self, and setting up your blog as an OpenID.

| Posted on December 4th | 0 comments | View full article
Filed Under: Tibetan Computing

 

Rendering Templates with Extensions such as rxml with theme_support: "Template is missing" and "No rhtml, rxml, or delegate template found for ..." Errors

The rails' plugin theme_support is a great way to allow customized stylesheets, javascripts, images, layouts, and views to your app. Unfortunately, as it is currently built now, it has a short-coming: it doesn't allow for specifying routes with extensions! In this article I will propose a correction which provides the plugin with a performance boost as an added plus.

| Posted on December 3rd | 1 comment | View full article
Filed Under: Ruby on Rails

 

View Translation: Globalizing a Ruby on Rails Application by Adding Multilingual Support to the Views

Using the globalize plug-in for Ruby on Rails out-of-the-box makes it easy to add support for various languages. It can handle the management of translated terms and translation of views (displaying the messages on each page in the selected language). This article gives a brief introduction about to how to implement view translation with globalize in an actual application.

| Posted on November 15th | 0 comments | View full article
Filed Under: Ruby on Rails

 

Adding Theme Support to a Ruby on Rails Application

Suppose that your Ruby on Rails application is a generic one designed to be run customized to the look and feel of each of your client's taste. You can easily make it run in several places, each instance with its own customized stylesheets, javascripts, images, layouts, and views by adding theme support to it. In this article I will show you how.

| Posted on November 4th | 1 comment | View full article
Filed Under: Ruby on Rails

 

Building a RESTful Ruby on Rails Application from the Ground up with a Site-wide Layout

In the following introductory article, I will build a stripped-down application to store a basic social graph for a person (a very fashionable subject nowadays). The steps to building the application will illustrate how to create a Rails application, configure it to connect to a MySQL database, generate resource scaffolding, use database migrations, and associate models. It will serve as a basis for later articles to illustrate more complex aspects of Rails development.

| Posted on October 27th | 3 comments | View full article
Filed Under: Ruby on Rails

 

Introducción a C++ (Introduction to C++, Spanish only)

El siguiente articulo cubre rápidamente los conceptos básicos teóricos y prácticos para abordar el lenguaje de programación C++.

| Posted on October 4th | 0 comments | View full article
Filed Under: Tutorial de C y C++

 

Punteros con C++ (Pointers in C++, Spanish only)

El siguiente articulo presenta una introducción a punteros en C++ e ilustra su uso en la construcción de listas simplemente enlazadas y doblemente enlazadas.

| Posted on October 4th | 1 comment | View full article
Filed Under: Tutorial de C y C++

 

Objetos en C++ (Objects in C++, Spanish only)

En este articulo se describe brevemente los puntos claves de la declaración y uso de objetos en C++.

| Posted on October 4th | 0 comments | View full article
Filed Under: Tutorial de C y C++

 

Sucesiones y Series (Sucessions and Series, Spanish only)

Reconocer la relación de un elemento a otro en una secuencia y el patrón que se esta desarrollando es una habilidad fundamental para la manipulación de variables en ciclos. Con esto el alumno practicará la destreza de producir secuencias en ciclos donde cada valor esta basado en el estado presente de la iteración (vía operaciones básicas de resta, división, potencia o tipo de numero) y de producir secuencias en ciclos donde el valor del estado presente depende de los estados pasados.

| Posted on September 9th | 0 comments | View full article
Filed Under: Resolución de Problemas