
Search In
I am using Browsernizer gem to prevent some browsers version from accessing website and redirect to a static instruction page to upgrade browser version.
So using before_filter method in ApplicationController to detect browser version & redirect
We often stuck, how to manipulate Date in our rails Application.
We have two Date objects in Ruby
Time.now() // This will give Today's date
#=> 2016-05-17 17:02:28 +0530
Date.new() // This will need some arguments to pass.
#=> Mo
Going by my application, I have an index.html.erb file that lists all articles and i was in need of a search box that would search all articles depending on the selected category.So firstly ,I created a search box within index.html.erb like this :
Have you ever taken a risk at doing some movement utilizing plain Javascript or moving DIVs here and there or resizing them?! All things considered, you know then the amount of torment it is as not just you need to handle the troublesome piece of liv
In this post, you will learn about video display in background using html and css. There is video tag in HTML5 which you can use to embed a video in your web page.
<video width=“450" height=“340" controls autoplay>
<source src=“abc.mp4"
While creating website in multi-language we have to first understand that what is Localization and Globalization
Localization-Localization is the process of designing web application in such a way such that it can display content in the langua
Database testing: Testing done on the retrieved data by the application is called Database testing. In the database testing, we match the data, displayed to the user, with the data stored in the database.
Following factors to be kept in mind for dat
Json.Net is a popular high-performance JSON framework for .NET
Features of Json.NET :
1. It provide JSON serializer for converting between .NET objects and JSON
2. It supports Binary JSON,XML to JSON, JSON to XML, LINQ to JSON c
In Odoo first create the modules and then create a new field that saves images. Now to upload them correctly in your database and to resize images automatically and store them in database you can use the below function or steps I have mentioned:
Ste
In Odoo-9 you have to create module and xmlrpc folder in server and install the apache2 in your system.
After this follow the step given below:
Step1- First create apache2 for our system using the command show below
sudo apt-get install apache2
