Carlos Roque

    • Cool Nested Forms
    • Home
    • Math Art
    • My Work
    • The FAIL wall
Illustration of a bird flying.
  • Guanacotoon, I never thought I would see the day

    Most of us that live in the US are familiar with a web comic. We enjoy great quality, fairly regular updates and great diversity. This American experiment is spreading around the world but I never thought this would ever reach my home country. So I was genuinely happy and impressed when I discovered OB’s World…

    March 7, 2015
  • Using Rails 4 engine/plugin helpers across your entire app

    Sometimes you need your rails engine/plugins helpers to work across the host app. An example of this is my Gem Paginas. I provide helper methods to generate menu links, since the menus can exist outside the scope of my gem, it was necessary to include these methods in the host app. It is quite simple…

    February 19, 2015
  • Getting tinymce-rails to play nice in Rails 4 and Turbolinks

    I am using the plugin on a project and I kept having problems loading the editor on for the second time. The problems materialized in two different ways. On first page view the editor worked as intended, on second page viewed the editor did not show at all After trying to fix #1, on first…

    February 19, 2015
  • TIL some awesome ActiveRecord behaviors in Rails

    So I started using rails about 3 months ago and it has been awesome. ActiveRecords was my first experience using ORM. I wish I had started using this a long time ago since using associations makes life so easy. As you read tutorials, there are many things that are left out. And unless you find…

    February 10, 2015
  • Adding and Removing Children From a Form in Rails 4

    This is a topic that seems to get asked a lot and answered in so many different ways. I haven’t really found an answer that I considered full and easy to follow. Also, most answers were give for rails 3. So I decided I would share my implementation. I have made this project available in…

    November 18, 2014
  • Handling dates when using Rails 4, bootstrap and bootstrap3-datetimepicker-rails gem

    The bootstrap3-datetimepicker-rails is a very nice plugin that adds a nice date and time picker to your bootstrap based rails application. I started using it the other day and I ran into huge problems. I will show you what I did and explain why I did it rather than explain the problems before hand.

    November 17, 2014
  • Using Devise to create a new Copmany that a User belongs_to in Rails 4

    I was creating my first Rails app the other day and although the online tutorials are very useful, I couldn’t find a way to have my devise registration form create a new company and assign it to the new User. After a lot of googling and hair pulling I made it work. I created a…

    November 6, 2014
  • Meeting Your Blog Readers

    I know this is a small blog and the audience is very limited. I don’t really go to programing conferences so my chances of meeting people that might read my blog are very slim, or so I thought. Roll back to July 2014.

    August 5, 2014
  • Setting Up A Ruby On Rails Dev Enviroment in Ubuntu For PHP Developers

    So I am trying to jump on the ruby bandwagon and just spent a few days trying to understand how to configure a dev machine. Now, being a PHP developer I am spoiled by the relative easiness to set up a dev environment. The options are abundant: WAMP servers, the manual install is very easy,…

    July 25, 2014
  • How to get the Job ID in a KPL macro throughout the product lifetime

    Sometimes we need to get the Order ID for use in our macros. This can be for any number of reasons, but what’s important to know is that you need to grab the job id in different ways depending on where a product item is during its life-cycle. When a product is sitting in the…

    July 8, 2014
←Previous Page
1 2 3 4 … 6
Next Page→

Carlos Roque

Proudly powered by WordPress