After Rails 4 Upgrade, one of our 3rd Party Integration Quickteller started failing.
No Transactions found post Rails4 Deploy when Reports Generated Later day
On inspecting further, we observed that Callback is failing at same point with message Read More
After Rails 4 Upgrade, we started getting ActionController::InvalidCrossOriginRequest
Exception almost every minute
ActionController::InvalidCrossOriginRequest at /method ====================================================== > Security warning: an embedded <script> tag on another site requested protected JavaScript....
Read More
While looking for ways to test concurrency issues and reliability of pessimistic and optimistic locking to solve them, came across
- Testing multiprocess behaviour is difficult and requires a way to synchronize processes at specific execution points and
-
Read More
What are Rails Engines ?
Engines can be considered miniature applications that provide functionality to their host applications
Popular Rails Engines
- Devise , an engine that provides authentication for its parent applications, or
- Forem...
Read More
While upgrading to Rails 4, lot of gem dependencies change as expected
To keep the dependencies clean, we decided to create a new gemset in rvm to install everything fresh and ensuring no existing dependencies / gems preventing us from...
Read More
We got hit by lot of bugs, all because of concurrency.
We had a case where returns are created for cancellations.
It was structured to tell cancelled_qty and a return would be created for that much quantity.
Return Creation will...
Read More
Ruby 2.0.0 introduced Enumerator::Lazy
to make infinite lists possible in finite way.
E.g. If we need first n integers
As a first attempt, we will generate integers starting from 1 to a very big number, and pick first...
Read More
Git is a powerful tool to help developers work confidently and try different approaches without losing any of it.
Here is a Git workflow borrowed from here
Its apparent that keeping things handy can...
Read More
What you measure is what you get
Like every successful business app, our’s also shows important metrics relevant to business for daily operations and adjusting to strategies.
As already well-known, its mostly aggregation of data over a column.
...
Read More
Most of Beginner Rails developers gets overwhelm with tremendous capabilities of Rails in getting the stuff done quickly and ignores the wealth / insights hidden in LOGS generated when dreams are getting turned into reality
Being a more experienced developer,...
Read More
Often, the bottleneck and single point of failure to many big systems is Database.
There are slaves configured for Master to share atleast the READ load.
MySQL Master-Slave Replication is so robust at core, there are very less mentions of...
Read More
Its inevitable to avoid having No Api’s for a big Business.
Mobile presence comes chasing and forces to have an Api.
Api’s are fun but why it is sensed otherwise above.
Yeah, you guessed it right, its not the Api...
Read More
To enter the mobile space, we created an Android App.
Everything finished with not much challenges and tested properly for good user experience.
Being contended, we started testing on Adroid 5.x series and Boom!!, the payment redirection in web view...
Read More
Synopsis
No Application exists without some status tracking. E-commerce tracks order payment / shipping status. CRM tracks page publishibility status etc…
There has been an internal debate on Status Representation as Strings vs Ints
Read More
Background
- Order has 4 line_items
- 3 are shippable line_items
- 1 is service item so no shipping needed
- Logically, Order has 2 Packages for Processing Purposes
- first, package has 3 shippable line_items
- second, package has...
Read More
Pikender spent his last 8 years learning to and hacking code. Started as parasite on topcoder.com SRMs problems/solutions to get better at problem solving through inspiration and enjoys applying them to real world problems. He loves being expressive and Ruby...
Read More