Favourite posts

What it Takes to Get an e-Commerce Site Online

Getting an e-Commerce website online might sound like a huge undertaking,...

WebView Interactions with JavaScript

WebView displays web pages. But we are interested not only in web-content...

Google Maps API for Android

Google Maps is a very famous and helpful service, which firmly entrenched...

Unit Testing with RSpec

RSpec is an integral part of Test Drive Development (TDD) and its main id...

Client side JavaScript: Knockout in practice

When developing a web application that extensively works with user input ...

Accessing Field Configurations in JIRA for changing field description

Field configuration defines behavior of all standart (system) fields and ...

A Guide for Upgrading to Ruby on Rails 4.2.0

As you might have already heard, the latest stuff for upgrading rails was...

Ruby

15 Apr 2015

Unit Testing with RSpec

RSpec is an integral part of Test Drive Development (TDD) and its main idea is to help in simplifying and automating the testing process for functionality which is being developed. It's like a technical task for a developer or draft of  functionality the developer wants to get in result and testing tool to check the functionality for its conformity with its original goal at the same moment. So here bellow very simple basics regarding Rspec testing and I hope it will helps to understand the usability of this tool in project development and maintainance.

To test behavioral characteristics special ...

13 Mar 2015

A Guide for Upgrading to Ruby on Rails 4.2.0

As you might have already heard, the latest stuff for upgrading rails was finally released at the end of the last year, viz. 4.2.0 was released on Dec 19, 2014. Well, here is the quick overview of its major tools:

Active Job 

It is a common interface on top of queuing systems like Resque, Delayed Job, Sidekiq, etc.

Active Job is a framework for declaring jobs and making them run on a variety of queueing backends. These jobs can be everything from regularly scheduled clean-ups, to billing ...

27 Feb 2015

Cropping Images in LocomotiveCMS

In the LocomotiveCMS such assets as images are available as well. Often while uploading an image via admin panel user needs to crop/resize an image. In this post we provide several examples how to do achieve it easily.

So, here bellow there are several variants how to do it even in LocomotiveCMS:

1. Some Liquid filters will allow you to format your entries attributes.
Resize image:
An image rendered from a file's field is done this way:

<img src="{{  item.attached.url }}">

But the the DragonFly gem can resize any image on the fly behind the scene. The ...