Discover and read the best of Twitter Threads about #rubyonrails

Most recents (15)

Want to level up your Rails skills? Check out this thread on string manipulation tips! 🧵
#rubyonrails #rails
CamelCase: It converts the first and second letters of each word to uppercase. Great for words with underscores Image
dasherize: Replace underscore with a hyphen Image
Read 10 tweets
#willwritesandcodes #100DaysOfCode #Day30

Today was a great family day-

also studied some

Looked over my #Cpp cards

@enkidev:
2 Docker lessons
4 #CSS lessons (next #Sass)
pseudocode for binary search algorithm

closely read #Knuth's flowchart for #ArtofComputerProgramming
@wildlearnerapp's #React course has taught me more so far than at least one other online course, if not two others.
My strategy is #repeatedexposure - the more I get aquainted with a lot of the concepts, the easier I find it to engage in coding itself, its concepts, syntax, & logic --- especially since I have such a hard time getting to sit down to actually code, given my job and family life.
Read 5 tweets
I used to spend hours googling a solution to transition my ideas into code.

Fast-forward 15+ years, the code writes itself.

And it's so simple, I wish I knew this back then. Here's how 🧵
1. Start with the end in mind (WHY)

Most web applications exist to solve a problem for the user.

- What's the user's goal?
- What is the user trying to achieve?
2. Map out the user's journey (HOW)

There are usually steps involved in achieving a goal (e.g. submit this form, click here, etc.).

- How does someone get from point A to point B in your app?
- What are the steps needed for the user to solve his problem?
Read 6 tweets
Here are some golden rules regarding bugs 🐛🪲🐞 that I learned in my career with #rubyonrails 🧵
👉 There’s nothing you can do to avoid bugs. They will just happen at some point. They are an integral part of the developer job: from time to time, you will have to spend time to tackle bugs.
👉 Prevent as many as possible. Test your code! Do not write only unit test. Write end to end (aka system) tests. They are slow as hell, sure, but they will cover you so well! Your test suite is where you’ll discover most of the bugs.
Read 9 tweets
The development of our #web3 #eLearning app has been going on for a day.

Progress so far: we decided on the stack.

We are running with #rubyonrails version 7.

And some other nifty things:
👇
We already said we'll use @_rareblocks . But even if not, we would use @tailwindcss . Advantages:

- It's very easy to make stuff that looks good.
- Just add CSS classes to divs. and there you go (at least that's what the #frontenddeveloper told me ;))
- just in time compilation
This frontend framework is truly simple and easy to learn: #stimulusjs.

We try to go with it and try not to add #ReactJS - but given the abundance of #web3 packages we might add react later.
Read 7 tweets
@sidekiq can easily process, not just millions, but billions of background jobs, without any sweat.

- Company processing (few of many)
- Insights on how to scale
- Few handy Gem/Tools (eg. for concurrency and threshold throttling)

A thread 🧵👇

#Ruby #Rails #rubyonrails
"2.8 billion Sidekiq jobs were processed over the past month" @ConvertKit
"...we have implemented many changes that allow us to process billions of jobs that interact with our databases hosting more than 60 TB of data in more than 90 billion documents" sensortower.com
Read 10 tweets
Ruby gems worth checking and considering

A thread 🧵👇

#Ruby #Rails #rubyonrails
💎 scientist 💎
A Ruby library for carefully refactoring critical paths

github.com/github/scienti…
💎 strong_migrations 💎
Catch unsafe migrations in development

github.com/ankane/strong_…

by @andrewkane
Read 12 tweets
Hi #Rails Friends! I’m thinking of Creating a list for the top Bootstrapped #RubyOnRails companies of 2021. I’d appreciate any replies with links or tags of rails apps/startups/projects, especially bootstrapped ones. #IndieDevs #railsdevs #startups #StartuposOnRails
I'd also appreciate retweets and helping me by tagging rails devs to follow. 🙏
Read 3 tweets
With 💎 Ruby 3 released, let's have a look at how the language evolved since the version 2.0 was released more than 7 years ago. A history thread about #ruby #ruby3 🧵:
In 2013 @yukihiro_matz announced Ruby 2.0 and he said the core team would release a new minor version every year during Christmas time🎄This was huge news 🎉 for Ruby devs since until then the releases were irregular. It made the future look very bright
Ruby 2.0 brought a bunch of features: keyword arguments, module#prepend and lazy enumerators.
One minor, but verys useful feature was %i literal to create arrays of symbols - I use it so often! 💪🏻
Read 36 tweets
I'm publicly committing to the 100DaysOfCode Challenge starting today! ⏳

Learn More and Join me! ✨

A long thread ahead for everything I'll going to do in the next 100 days 🧵

#100DaysOfCode #webdeveloper #RubyOnRails #javascript #opensource #hacktoberfest
Day1⃣ of #100DaysOfCode 🌟

✨ Started learning @GoHugoIO from past2⃣weeks and get my hands on #TwitterCards.
✨ Have learned how twitter shows different twitter cards layout from frontmatter we added in each blogpost.
✨ Specified twitter card in frontmatter in sample post ❄️
Day2⃣&3⃣ if #100DaysOfCode 🌟

➡️ Solve multiple Query problem in my current #RubyOnRails #Mongodb project
➡️ Reduced from 500 db queries to < 100 🎯
➡️ Contributed to my personal blog, made using @GoHugoIO
➡️ Moved all assets to Dropbox, so that page load faster 🧬

#CodeNewbie
Read 5 tweets
Throwback to early days of #ROR ~ circa 2007/08

Ruby's single threading was leading to serious scalability challenges at SlideShare (also Twitter etc). The word on the tech street - "RubyOnRails ain't enterprise-class. These platforms won't scale".

#RubyOnRails #Rails #Ruby /1
ROR was optimized for "developer efficiency & happiness".

That's what endeared it to Web2.0 startups - iterate, build fast & break things, think MVP, Agile, Lean... get to product-market-fit ASAP

Whether it could deliver at enterprise scale like java, dont net was untested /2
I do remember - the cacophony about the supposed "non-scalability of ROR" did give us nervous moments at SlideShare.

AFAIR it was NGINX that played a key role in helping address ROR's scalability issues gradually!

@jboutelle..... is that correct? /3
Read 5 tweets
Stackoverflow Developer Survey 2020 results are out :  insights.stackoverflow.com/survey/2020#mo… 

Picture for #Ruby doesn't look good. For me, it has several signs of becoming exotic / niche (like COBOL) than being widespread (like Java). This has huge impact on hiring and talent pool (1/n)
1. % of survey respondents working on Ruby is : 7.1 Decreasing over the years :
2020 - 7.1 (Rank 14)
2019 - 8.4 (Rank 12)
2018 - 10.1 (Rank 13)
2017 - 9.1 (Rank 10)
2016 - 8.9 (Rank 11)
This by itself is not significant, but when read with other metrics it is meaningful (2/n)
2. #rubyonrails is also facing a similar decline in popularity. This year it was at 7.0%
This, of course, could be the bias associated with the developers surveyed. It still, however, shows where the #developer #community is concentrating. More on importance of this below. (3/n)
Read 13 tweets
Our #RubyOnRails apps at GaggleAMP have published content to 3rd Party APIs for almost 10 years. Here are some things we've put in place to reliably perform these API calls from our apps’ background job workers:
.
.
Thread👇
We use a state machine to control the process. The diagram below shows a simplified version of our state machine (some states for app-specific functionality are not shown). At the row level, we store the current state along with a timestamp to allow future scheduling. 2/
A recurring job lives in our job queue that enqueues individual API jobs. This recurring job queries the database for all API jobs in the approved or retry state with schedule timestamps in the past and enqueues them. It recurs every 10 seconds. 3/
Read 16 tweets
Spent some time with a startup struggling with #hiring quality talent in #Bangalore. The story is quite common so thought of putting them in a thread.
The startup shared these (usual) problems: 1. Not finding skilled talent 2. Salary range mis-match 3. Drop offs in hiring process 4. Only 1/5 offers were converting to a joining
#1 skill mismatch: The HR was instructed to look for 2+ "solid" experience on #rubyonrails and would reject anyone else without looking at their growth curve. Moreover, she was non-technical but was also doing the initial technical screening (on ROR).
Read 12 tweets
Inspired by @levelsio and @AndreyAzimov , I decided to publish the whole process of creating my side project (Stumbs).
You can register to have access to the beta as soon as I finish: producthunt.com/upcoming/stumb…
Recently I posted my first Upcoming Page on Product Hunt. I started learning #RubyOnRails last year and the result of this is Stumbs, a community for sharing restaurants and local brand stores that you stumbled across while travelling or exploring your hometown.
The project is not over yet, I will use this thread to post the current status and all updates until the @ProductHunt release. For now, I have developed the following features:
Read 11 tweets

Related hashtags

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!