This post discusses how to send multiple push notifications simultaneously using the Ionic Framework.
In a Rails application, when we need nested forms, we frequently use the 'nested_form' gem. However, we cannot use that when we are making an AngularJS + Rails app. To make nested forms using AngularJS, we need to write some specific code and in this blog I do just that. I have some sample code base with a working demo … Continue reading How to create nested form using AngularJS
While learning AngularJS to make a single page app using Rails4, I found some good videos and blogs. However, I did not find any simple example for CRUD operations that made me easily understand the integration between Rails4 and AngularJS. So in this tutorial post, I explain how to create basic CRUD operation using Rails4 … Continue reading Building web apps with Rails4 and AngularJS in 15 minutes
Localization is usually necessary in every website. We wanted to add localization in an existing application with more than 100 pages! Now it would be crazyto go and change each view and add the unique keys in the .yml or .po file. I google'd and I found some good reference here. Using this reference I … Continue reading Language independant translator using haml parser
If you are using paperclip plugin for uploading images in your rails application and you are validating image format. Image format validation working in Firefox, safari but not in IE, even you are uploading image in correct format in IE then they showing error, image format not correct. eg: validates_attachment_content_type :image, :message => 'Please upload … Continue reading Paperclip: validates_attachment_content_type always fails in IE 6 and 7 for jepg and png image
I am using paperclip plugin in my application for uploading images. But when I am uploading CMYK format image then this format image not displaying in IE7 properly. after some search I got the following solution and it's working. have added one line code in "paperclip" pluginn. Go to the - "vendor\plugins\paperclip\lib\paperclip\thumbnail.rb" On line no.64 … Continue reading CMYK format images not displaying properly in IE 7