<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Assain Jaleel on Medium]]></title>
        <description><![CDATA[Stories by Assain Jaleel on Medium]]></description>
        <link>https://medium.com/@assain?source=rss-15eaf13c4a53------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*_Hi25IdsO3B6wxGXkJx5nA.jpeg</url>
            <title>Stories by Assain Jaleel on Medium</title>
            <link>https://medium.com/@assain?source=rss-15eaf13c4a53------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 15:46:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@assain/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Rails, Postgres & Me…]]></title>
            <link>https://assain.medium.com/rails-postgres-me-59e48152e61c?source=rss-15eaf13c4a53------2</link>
            <guid isPermaLink="false">https://medium.com/p/59e48152e61c</guid>
            <category><![CDATA[postgres]]></category>
            <category><![CDATA[sqlite]]></category>
            <category><![CDATA[rails]]></category>
            <dc:creator><![CDATA[Assain Jaleel]]></dc:creator>
            <pubDate>Sun, 18 Apr 2021 02:36:28 GMT</pubDate>
            <atom:updated>2021-04-18T02:40:44.226Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/694/1*rKQKb0pvHsKOufj17n7uRg.jpeg" /><figcaption>Rails, Postgres &amp; Me? :D</figcaption></figure><p><strong>Here’s how it all started all over again!</strong></p><p>I was standing in a queue waiting for my turn to buy something, the waiting sucked, but I had to do it as I was the younger sibling (elder bro code) while he got to chill in the car.</p><p>(I look great in the picture holding the iphone right? I wish — haha.</p><p>#OurLegendarySteveJobs — Respect).</p><p>That was when another business idea started to form in my head. So, as soon as we got back home I started working on the prototype to flesh out this idea.</p><p>And that’s how the saga began rolled out all over again as I couldn&#39;t remember how I set up Postgres previously. I knew I could set the database as Postgres during set up but I intentionally for pure tinkering experience took the long way.</p><p>If you’re stuck in the same crossroads then hop on and FYI I’m a bad driver. Also, if you know better ways comment down below.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FcfuL5gqFDreXxkWQ4o%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FcfuL5gqFDreXxkWQ4o%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FcfuL5gqFDreXxkWQ4o%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="435" frameborder="0" scrolling="no"><a href="https://medium.com/media/ceda8709d72b296397710949764338e5/href">https://medium.com/media/ceda8709d72b296397710949764338e5/href</a></iframe><p><strong>NOTE: I’m using a Mac.</strong> I tried to install Postgres 13 (which is the latest as of this writing) but ended up getting some — port, socket, in tmp folder errors using brew, and neither did EDB the GUI method work. I spent a lot of time pondering, googling, overflowing but it didn’t work for me and I didn’t want to invest more time in that.</p><p>But here’s the download link to Postgres: <a href="https://www.postgresql.org/download/">https://www.postgresql.org/download/</a></p><p>So I ended up re-installing Postgres-12 like this:</p><pre># Run this if you had installed version 13 like me<br>$ brew uninstall postgres@13</pre><pre>$ brew install postgres@12<br># See here: <a href="https://formulae.brew.sh/formula/postgresql@12">https://formulae.brew.sh/formula/postgresql@12</a></pre><p>Also, this is a well-written document by digital ocean refer to this if you get stuck — <a href="https://www.digitalocean.com/community/tutorials/how-to-use-postgresql-with-your-ruby-on-rails-application-on-macos">https://www.digitalocean.com/community/tutorials/how-to-use-postgresql-with-your-ruby-on-rails-application-on-macos</a></p><p>However, since I started with SQLite now I need to configure my database.yml to use Postgres.</p><pre>default: &amp;default<br>  adapter: postgresql<br>  encoding: unicode<br>  pool: &lt;%= ENV.fetch(&quot;RAILS_MAX_THREADS&quot;) { 5 } %&gt;<br>  timeout: 5000<br>  username: appname # Refer digital ocean link above<br>  password: &lt;%= ENV[&#39;APPNAME_DATABASE_PASSWORD&#39;] %&gt;</pre><pre>development:  <br>  &lt;&lt;: *default<br>  database: appname_development</pre><pre># Warning: The database defined as &quot;test&quot; will be erased and<br># re-generated from your development database when you run &quot;rake&quot;.<br># Do not set this db to the same as development or production.<br>test:<br>  &lt;&lt;: *default<br>  database: appname_test</pre><pre>production:<br>  &lt;&lt;: *default<br>  database: task_production</pre><p>Also if you ever run into an error like this like me:</p><pre>rails aborted!</pre><pre>LoadError: dlopen(/Users/assain/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/pg-1.2.3/lib/pg_ext.bundle, 9): Library not loaded: /usr/local/opt/postgresql/lib/libpq.5.dylib</pre><pre>Referenced from: /Users/assain/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/pg-1.2.3/lib/pg_ext.bundle</pre><pre>Reason: image not found - /Users/assain/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/pg-1.2.3/lib/pg_ext.bundle</pre><p>It turned out I didn’t reinstall the gem after I reinstalled postgres12 (which I had before installing Postgres13).</p><p>Now to verify that Postgres is correctly configured with rails it’s time to run:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F2bUpP71bbVnZ3x7lgQ%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F2bUpP71bbVnZ3x7lgQ%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2F2bUpP71bbVnZ3x7lgQ%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="363" frameborder="0" scrolling="no"><a href="https://medium.com/media/7368ed54b437df37bff58f6c2ccc0c23/href">https://medium.com/media/7368ed54b437df37bff58f6c2ccc0c23/href</a></iframe><pre><br>% rails db:create</pre><pre># output</pre><pre>Created database &#39;appname_development&#39;</pre><pre>Created database &#39;appname_test&#39;</pre><p>You should expect to get the above output.</p><p>Refer to this for more information — <a href="https://guides.rubyonrails.org/configuring.html#configuring-a-database">https://guides.rubyonrails.org/configuring.html#configuring-a-database</a></p><p>It’s really frustrating when you mess up configurations when you don’t have deep expertise in what’s going on under the hood.</p><p>But, the idea is to research, google, read, understand patiently while taking ample amounts of breaks. And eventually, you’ll have it all figured out.</p><p><strong>Tip: </strong>Yeah I get it, we nerds like to dig deep into the documentation/articles and gain as much knowledge as possible, but at the same time it’s important to draw a line and know where &amp; when to stop. <strong>ABSTRACTION</strong></p><p>Hope I don’t forget these steps again, which I’m sure I will. Till next time #StayStrong</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2Fbg58m10HpbljgFVXxY%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fbg58m10HpbljgFVXxY%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2Fbg58m10HpbljgFVXxY%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="435" frameborder="0" scrolling="no"><a href="https://medium.com/media/fbe885d1701783ae7c46ce44966f8691/href">https://medium.com/media/fbe885d1701783ae7c46ce44966f8691/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=59e48152e61c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Start your own business with Lassi Magic | Low Investment | High on Profits]]></title>
            <link>https://assain.medium.com/start-your-own-business-with-lassi-magic-low-investment-high-on-profits-30a47346c7a?source=rss-15eaf13c4a53------2</link>
            <guid isPermaLink="false">https://medium.com/p/30a47346c7a</guid>
            <category><![CDATA[food-business]]></category>
            <category><![CDATA[franchising]]></category>
            <category><![CDATA[best-business-to-start]]></category>
            <category><![CDATA[new-business-opportunity]]></category>
            <category><![CDATA[starting-a-business]]></category>
            <dc:creator><![CDATA[Assain Jaleel]]></dc:creator>
            <pubDate>Mon, 04 Nov 2019 14:54:32 GMT</pubDate>
            <atom:updated>2019-11-04T14:54:32.023Z</atom:updated>
            <content:encoded><![CDATA[<p>Lassi Magic — Bangalore | Hyderabad | Vizag | Anantapur | Chennai | Bellary | Bihar | West Bengal | Gulbarga | Secunderabad | Davangere | Opening Soon All Over India &amp; Globally</p><p><strong>Interested in breaking into the Food, Beverages and Desserts space? Read on…</strong></p><p>Lassi Magic is a potential business you can start just like Arun and his friends who work as engineers in a tech company — which is low on investment and high on profits.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/537/0*A2F9_aFiHwGKfcQT" /></figure><p>Arun and two of his friends after working for a while in tech, wanted to taste and see: <strong>How owning and running a business tasted like? </strong>Does it taste bitter? sour? spicy? or sweet? The truth is, it’s actually, a mixed burst of flavors.</p><p>That’s when Arun reached out to us and said: “Hey, my friends and I would love to set up a Lassi Magic store”, and we helped them out, taught them, and gave them a hands-on experience, to launch there proud Lassi Magic outlet — now they are their own bosses, while juggling between being an engineer and a Business Owner — Boss.</p><p><strong>“Wait…but what’s Lassi Magic?“, You ask.</strong></p><p>Lassi Magic is an Indian Desserts &amp; Beverages Franchise specializing in modern Lassi, Cake Shakes, Thick Shakes, Fresh &amp; Healthy Fruit Juices, and Desserts!</p><p>The best part — <strong>it doesn’t burn a hole in your pocket! </strong>Now everyone can enjoy premium products :) YAY!</p><p>On the flip side, Lassi Magic helps <strong>motivated individuals </strong>— Businessmen, Students, New Grads, Professionals, Engineers and The Retired, to start (side) Businesses that are<strong> low on investments</strong> and <strong>high on profits</strong> through our brand — <strong>Lassi Magic</strong>, which is a proven model we’ve experimented with to help you storm into this lucrative business.</p><p><strong>Lassi Magic</strong> is one of the <em>best in class</em> businesses you can start because of it’s tailored and polished <em>business model</em>.</p><h3>Investment</h3><blockquote><strong><em>“Starbuck’s Former Chairman &amp; Cheif Executive Howard Schultz — in his Master Class described what a best in class business model is and Lassi Magic definitely is on top”.</em></strong></blockquote><p><strong>Investment</strong> is approx: 9 Lacs give or take depending on the outlet and with proper care it’s possible to rake in an average business of ~10k (and plus) per month which is -&gt; ~3lacs per month -&gt; ~36lacs/year (on the lower and medium end of the spectrum).</p><p>If we take the <strong>ratio of sales:investment</strong> = 4:1 with <strong>operational margins</strong> of net ~30% allowing you to recover the amount you’ve invested in ~ a year, which is a pretty interesting model we’ve shaped it into.</p><h3>Here’s a Couple of Lassi Magic Outlets</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/0*Tiw8Zo8TIykBXLPc" /></figure><blockquote><em>Hosur Main Road</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/0*8Gt78QcDZFYV3xeA" /></figure><blockquote><em>AECS Layout — Marathahalli</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/0*2kywV8FtzlzvEodU" /></figure><blockquote><em>Munnekollal — Marathahalli</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/0*ZJ5Z4Uq9QXJcxjij" /></figure><blockquote><em>Maruthinagar</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/0*tpS5iRLapR7havVv" /></figure><blockquote><em>Kengeri</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/0*0Oe01puVo6vbwZkI" /></figure><blockquote><em>Secunderabad</em></blockquote><h3>Lassi Magic — Product Sneak-Peek</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/0*8j_P6iUHMNuk3l0I" /></figure><blockquote><em>New Belgian Brownie Shake</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/0*mG0845b2cknBU3b4" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/0*PtFrVxkuLRkbqgSY" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/544/0*khBjufncK7KOzX5X" /></figure><h3>Customers Love Lassi Magic:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/524/0*s0rTPxEb7jLvGtXS" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/583/0*tdW5z_vFr-8FkIm6" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/0*Ze0zH4nWQfEefg4c" /></figure><h3>Are you ready to start your very own Lassi Magic store? Reach out to us today</h3><p><strong>Email us: </strong>hello@lassimagic.com</p><p><strong>Website: </strong><a href="http://www.lassimagic.com/">www.lassimagic.com</a></p><p><strong>Facebook: </strong><a href="https://www.facebook.com/lassimagicbangalore/">https://www.facebook.com/lassimagicbangalore/</a></p><p>Also, here’s another interesting article you’d like to read on Quora: <a href="https://qr.ae/TWrWAX">Assain KC’s answer to In which business is there no loss?</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=30a47346c7a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>