Blog

Thoughts, opinions, tutorials and any other stuff we could think of

Ruby on Rails 4

Manually creating parameter hash in rails

September 23rd

As of Rails 4.0 and the introduction of Strong Parameters creating a hash with indifferent access is a bit problematic because you need to require and permit on the parameters hash, the solution I found is Happy coding!

Read post »
wordpress-wp-query

Complex queries in WordPress with WP_Query

August 12th

WordPress query class is a well documented class that allows you to query the database and filter results for all types of taxonomies within the system that offers a lot of flexibillity. On a recent project a client has asked us to create a filterable search page based on groups of tags. The search page […]

Read post »
euro-sign-image-AT-1

How to insert the Euro sign in Javascript

August 8th

I had to dynamically insert a price of some product using javascript and first I tried adding the it like I would have done through PHP but it just displayed that in the DOM as a string so instead I used and it worked like a charm.

Read post »
gotomeeting-api

GoToMeeting, GoToWebinar PHP API Class

February 11th

GoToMeeting and GoToWebinar are two great services provided by Citrix for holding online meetings and webinars. The popular platforms have released their API to enable web applications to integrate with their services.

Read post »
custom-checkboxes-with-jquery

Custom Radio Buttons with jQuery

January 13th

I think every front-end developer had to deal with the situation when a certain design for a website or application includes a special design for general form elements like select boxes, checkboxes and radio buttons.

Read post »
wordpress-batch-user-metadata

WordPress Batch Insert User Metadata

January 9th

I’ve recently created a batch insert user metadata function on a WordPress project. The idea is just to create one MySQL insert instead of multiple add_user_meta because we want to keep the MySQL calls to the minimum.

Read post »
watir

Automated Tests For Ruby With Watir

January 7th

Watir, pronounced water, an abbreviation for Web-browser Automated Tests In Ruby, is an open-source family of Ruby libraries for automating web browsers. It allows you to write tests that are easy to read and maintain. It is simple and flexible.

Read post »
jquery-inline-edit

Tiny Inline Edit Plugin For jQuery

December 31st

Inline edit capability can be a very nice addition to any UI, here is a lightweight, inline-edit function I wrote with jQuery while working on a project.

Read post »