Posts

Showing posts from September, 2021

How To Delete Unused Images From Rails Application.

Image
 In a Rails application, superfluous images will influence application load time and furthermore delayed down your test and convey pipeline.  One of my new ventures was to attempt to recognize the unused images and eliminate them securely. It was a significant troublesome undertaking in the rails application to discover images that were not being used.  Actually, It's difficult to check in case you're not utilizing every single one of them, so you can utilize the underneath Rake errand to flush out all the unused images and delete them.  So Here is a Rake assignment to discover unused images in the Rails venture to erasure.  1) How to Create Rake task?  Order: rails g task <namespace> <taskname>  For Eg: rails g task image_cleaner find_unused_images  rake document will produce inside the "lib/errands" organizer.  Rake document body:  How to execute?  Run beneath rake task order in your undertaking catalog terminal:...

10 Points To Consider Before Launching Your First E-Commerce Website.

Image
 With evolving times, businesses are paying special mind to new choices to be accountable for their own fates and eCommerce is one convincing road for progress. Making a strategy is fundamental to focus on the assets to create a compelling eCommerce business plan. The new innovative advances have made this objective more open.  For new businesses, it very well may be hard to perceive precisely how to begin an eCommerce business that will be productive in creating income. In case you're pondering beginning an eCommerce store and promoting your items on the web, we have assembled an agenda of things to recollect:  Elements Businesses Should know about Before Starting an eCommerce Store:    1. Picking the Right eCommerce Platform  To assemble an eCommerce store that stands apart from the group pick the right stage that helps you feature your items and gives a further developed client experience.  2. Appropriate item grandstand and depictions  Alongs...

Steps For Zoom Integration In Canvas-LMS

Image
 There are multiple ways accessible to utilize zoom-in material LMS. It tends to be utilized by coordinating the zoom application or with an immediate zoom URL.  Coordinating zoom with material LMS utilizing zoom's LTI Pro application:  Follow the steps referenced beneath:  Step 1: Configure LTI Pro on Canvas :  Login to your zoom account  Go to the LTI Pro application and Sign In. Snap Manage to Configure.  Material LMS  Snap + Create another qualification  Material LMS  Pick LTI 1.1 and enter the name of LTI  Once another LTI qualification is made, the new LTI 1.1 accreditation and arrangement page will be apparent. This page will contain the LTI URL, LTI Key, and the LTI Secret needed for designing the LTI in LMS.  Step 2: Navigate to the Canvas Account. Snap-on Admin and the name of the record where you need to add Zoom.  Step 3: Click on Settings from the menu accessible on the left board.  Step 4: Click on App...

E-commerce Website: Need Of An Hour For Every Retail Business.

Image
In this time of online business, businesses are delivering their administrations on the web. With the assistance of eCommerce , life has become agreeable for both the purchasers and the merchants. Today, complete exchanges can be produced using the solace of home. The continuous COVID-19 pandemic has additionally shown us that retail business can run their activities easily and satisfy an assortment of exchanges securely through eCommerce online stores. The security concerns encompassing the pandemic have made it crucial for shop essentially. Despite the fact that things are gradually re-opening, many have become acquainted with web-based shopping. From perusing at whatever point you need to arrange from anyplace on the planet, internet shopping has moved shopper practices until the end of time.  In case you are a retail business needing to build up an online store to develop your business, here's the reason coordinating a web-based business site into your business model will be ...

Scheduling Tasks In Rails With Cron Jobs & Using The “Whenever” Gem.

Image
What is a Cron job?  A job scheduler, cron allows the client to execute repeating undertakings at a decent time span. Cron jobs can run in a foundation interaction.  For eg: consistently, hour, day, or year.  Understanding the utilization of the 'at whatever point' jewel?  The "At whatever point" jewel is utilized to add and timetable an undertaking to the crontab record. It is a Ruby jewel that gives an unmistakable grammar for composing and conveying cron jobs.  Steps to creating Excel sheets at regular intervals.  Step 1: Add the diamond 'at whatever point' to your gemfile.  Step 2: To introduce 'at whatever point', run the order "pearl introduce at whatever point"  Step 3: Run "group introduce"  Step 4: Run "wheneverize".  This order will produce "schedule.rb" in config.  Booking undertakings in-Rails    Step 5: Create the Rake task – This will produce inside "lib/asstes/undertakings"  sentence s...

How To Export Data To An XLSX Spreadsheet On Rails?

Image
 XLSX is a document augmentation for a Microsoft Excel Spreadsheet. Sending out a record with the .xlsx expansion makes an editable and visible spreadsheet in Excel . This serves to effectively re-gathering, consolidate, and yet again design the information.  A model and regulator are utilized to show information from the data set in a table organization. To change over that information in the XLSX spreadsheet, follow the means referenced beneath:  Stage 1: Add pearl in the jewel record.  Stage 2: Run pack introduce  Stage 3: Add a connection to the view  Stage 4: Add the help for XLSX reactions to the regulator  Stage 5: Define the spreadsheet layout  Make a document in sees index.xlsx.axlsx and compose the beneath referenced code for spreadsheet design.  In this organization, add the segment headings in the add_row area.  What's more, to recover DB information in dominate sheet, add Sheet.add_row area data set field names.  S...

Cryptocurrencies: A Technological Evolution.

Image
 An innovation that works with the presence of cryptocurrency, Blockchain is one of the most mind-blowing realized advancements at any point designed. A vehicle of trade, cryptocurrency is a computerized model of cash that utilizes encryption methods to direct the detailing of financial units and to move reserves.  Since its first conceptualization in 2008, blockchain innovation has developed and discovered its direction into various applications past digital currencies. Blockchain guarantees the solidarity to upgrade the business measures between associations by profoundly lessening the "cost of trust." It is consequently that most associations are selecting to put resources into blockchain than in most conventional inside speculations for fundamentally better yields.  As of late, cryptocurrency, especially Bitcoin, has shown its gigantic potential and worth. Cryptographic forms of money give security, efficiency, and preparation speed. It is developing with the possibi...

5 Things LMS Buyers Need To Know

Image
 Each association has its uncommon LMS necessity. Picking another Learning Management System (LMS) to proficiently deal with an association's learning drives requires a significant measure of contemplation. With a couple of learning stages open, narrowing down the LMS assurance plan of your association's necessities is principal. Depending on the proposals from companions and discussion destinations can sound great, however, picking an exact LMS is dependent on the examination and clearness of necessities. An off-base LMS choice can bring about a lot of issues, lead to an exercise in futility, cash, and legally binding commitments. It is pivotal for each association to embrace the right choice system while picking the most appropriate LMS for your association.  Here is an agenda of exceedingly significant components to consider while picking the right LMS stage:  What would you like to achieve with your LMS?  Rather than jumping straight into picking an LMS, it is s...