Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Reading content from file and saving it to database in Rails

Hi friends,   Sometimes we want to read the content from a file and save into our database. So we can achieve this in rails we do following:    1) First you need to add a column in your model where you want to save the content of the

Workers in Rails

Sometimes to improve the performance of application we need to schedule some slow tasks into background. That is where Workers comes in the picture.So intead of executing slow tasks during the HTTP request execute them into background. There are many

Hot to use action script to call ANE ?

This post is helpful to generate action script to call adobe native extension files. Here we are using FDT IDE used to create Action script for ANE. 1. Download FDT from http://fdt.powerflasher.com/docs/Installing_and_Running_FDT#Standalone_Installa

Difference between Capybara find() and fill_in() methods

Selenium is an open-source browser automation tool. So, while automating any functionality first we have to locate the element. Capybara provides two methods to locate elements:   find() fill_in()   Let suppose we have an input textbox

Using Braintree As Payment Gateway (Part 1)

There are several player in the market which can be used as payment gateway and it is not always easy to choose one . Thus today I would like to give you an overview of well known payment gateway i.e Braintree which is a subsidiary of Paypal. There h

Create And Use Shortcode in Wordpress

Shortcode is a special feature of wordpress .  In other words we can call it a simple set of functions  Developer can  create the functionality specific shortcode and can use it either at admin end in page or post  or in any code

How to set portrait and landscape media queries in css

If you want to set your view for a specific device, you need to use media query css to get that. To set css for landscape and portrait view, you need to add the following lines into your css file. @media only screen and (orientation: landscape) {

None and readonly methods in active records rails

Hi friends, There are some special kinds of methods in active records rails, that can be used for different purposes. Here I am explaining two of them 1. none method: none method as its name suggests returns no records. So it is used in the case w

.Net : Best practices for memory management

In this blog we will discuss about best practices for memory management in .Net framework. Even though the .Net framework has its own garbage collection support still as developers we  have to think and write code that minimizes memory wastage.

Install MPEG-4 AAC decoder in Ubuntu

Hello friends, I was facing issues while running mp4 videos or songs. It was asking me to install mpeg-4 aac decoder. When I run any mp4 player then I got the following error:     So, to resolve it. Today I am going to tell you how to

1 643 949
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: