Part 2- Redesigning Saeloun's Website (Research)
Learn about how we did the competitive analysis as part of secondary research and collected references for our website.Rails.env.local? in Rails 7.1
Rails.env.local? was introduced in Rails 7.1. This post explores its usage.Simplify Routing and Boost Performance with Next.js App Router
Discover the powerful features of Next.js 13's App Router built on React Server Components, enabling efficient route organization and layout creation. Improve performance with server-centric routing and seamless client-side navigation. Unlock advanced routing patterns like parallel routes and route interception to create sophisticated web applications with ease.Rails 7.1 extends enum support for Postgres adapter
Rails 7.1 extends support to rename enum, add enum value and rename enum value for Postgres adapterUsing quarter method by rails 7.1
Get quarter of the date provided for the current year or the custom year.Smooth Scrolling to an Element using scrollIntoView in React with a Fixed Header
Fixed headers are a popular design choice for websites. However, scrolling to an element that includes a fixed header can present several challenges. In this blog post, we will discuss how to overcome these challenges and scroll smoothly to elements with fixed headers.Shaping Rails to Your Needs, Customizing Rails Generators using Thor Templates
Templates are an easy way to customize your Rails generators to fix repetitive tasks and make your life easier.Extract Sample Rate of an Audio File with Audio Analyzer in Rails 7.1
Extract the sample rate of an audio file with ActiveStorage::AudioAnalyzer which will return the bit rate, duration, and sample rateIntegrate OpenAI API in Ruby applications
We can integrate OpenAI API in a ruby application by using ruby-openai gem which allows us to build an app with all the ChatGPTWriting re-usable code with React Composition
React Composition helps make our code more efficient, and easier to maintain and update in the long run. Instead of relying on one big component to do everything, we break it down into smaller parts, so we can reuse them in other places, and build even more complex components.