Open in app

Sign In

Write

Sign In

icelandcheng
icelandcheng

78 Followers

Home

About

Published in

Nerd For Tech

·6 days ago

The Usage of Regular Expression in Ruby

Introduction Regular expressions are patterns used to match character combinations in strings. In Ruby, regular expressions are defined between two forward slashes to differentiate them from other language syntaxes. String object in Ruby provides several functions for matching the patterns. One function is =~ . It will return the first index…

Ruby

6 min read

The Usage of Regular Expression in Ruby
The Usage of Regular Expression in Ruby
Ruby

6 min read


Published in

Nerd For Tech

·Jan 3

Code performance and load testing

I used to mess up code performance and load testing because I thought they are similar, but actually not, so I write this article to introduce them and help myself to have more concepts about these two things. I will use Golang and Ruby to show some examples when talking…

Ruby On Rails

7 min read

Code performance and load testing
Code performance and load testing
Ruby On Rails

7 min read


Published in

Nerd For Tech

·Nov 27, 2022

Golang: Build a simple web server and interact with it

Golang is an open-source programming language supported by Google. It is famous for its powerful performance, and it also provides many useful packages for us to build a variety of applications. In this article, I would like to share how to build a simple web server by using some Golang…

Golang

10 min read

Golang: Build a simple web server and interact with it
Golang: Build a simple web server and interact with it
Golang

10 min read


Published in

Nerd For Tech

·Nov 27, 2022

Golang: Testing function in a simple web server project

Testing is important when building a software project. In Golang, there are some packages really useful when doing the unit tests for the functions in our project. In this article, I will show how to use those packages to test a function in a web server project. the project structure…

Golang

7 min read

Golang: Testing function in a simple web server project
Golang: Testing function in a simple web server project
Golang

7 min read


Published in

Nerd For Tech

·Jun 21, 2022

Apply Continuous Integration for Ruby project by using CircleCI

Most software developers might have experienced this kind of situation: The more members involved in the software project, the more chance that errors appear when new code integrates into the project. To avoid this kind of problem, The concept of Continuous Integration(CI) comes out and it becomes popular to be…

Circleci

12 min read

Apply Continuous Integration for Ruby project by using CircleCI
Apply Continuous Integration for Ruby project by using CircleCI
Circleci

12 min read


Published in

Nerd For Tech

·Jul 17, 2021

Ruby on Rails: Using Tempfile and Fog-AWS Gem to read excel files saved in AWS S3

AWS S3(AWS Simple Storage Service) has become a popular cloud service for people to store objects like files or images. It is more likely that we need to implement a function as accessing files from AWS S3 or uploading files to AWS S3 in our application. Recently, I also encounter…

Ruby On Rails

6 min read

Ruby on Rails: Using Tempfile and Fog-AWS Gem to read excel files saved in AWS S3
Ruby on Rails: Using Tempfile and Fog-AWS Gem to read excel files saved in AWS S3
Ruby On Rails

6 min read


Published in

Nerd For Tech

·Jun 14, 2021

Using Vue Test Utils with Jest to test Vue.js under Webpacker in Rails

When it comes to testing for Ruby on Rails project, RSpec must be the most common tool that people would implement. By using RSpec, we could easily write a good testing script for our Rails project and test our project thoroughly. But after Rails 6 integrates Webpacker in the project…

Vuejs

6 min read

Using Vue Test Utils with Jest to test Vue.js under Webpacker in Rails
Using Vue Test Utils with Jest to test Vue.js under Webpacker in Rails
Vuejs

6 min read


May 30, 2021

Ruby on Rails: Using table_name_prefix and namespace to organize models

When selecting record from model in rails, if no specific setting, Rails will directly use the plurals of model name as the table name to do SQL query. …

Ruby On Rails

3 min read

Ruby on Rails: Using table_name_prefix and namespace to organize models
Ruby on Rails: Using table_name_prefix and namespace to organize models
Ruby On Rails

3 min read


May 12, 2021

Ruby on Rails: Using Capistrano to deploy application and run custom task

Sometimes we need to deploy our rails application to different stages(staging or production environment)which probably are remote machines, and we may need to do the deployment frequently, for each time the application has new version we would need to update the code to all stages environment. …

Ruby On Rails

7 min read

Ruby on Rails: Using Capistrano to deploy application and run custom task
Ruby on Rails: Using Capistrano to deploy application and run custom task
Ruby On Rails

7 min read


Dec 31, 2020

Ruby on Rails: Sort Array Records By Enum Value

Sometimes we might need to order records by their attribute value. If using Ruby on Rails Active Record, we could apply Active Record Query Methods: order to order model records by some of their attribute value. …

Ruby On Rails

3 min read

Ruby on Rails: Sort Array Records By Enum Value
Ruby on Rails: Sort Array Records By Enum Value
Ruby On Rails

3 min read

icelandcheng

icelandcheng

78 Followers

Programming Skill learner and Sharer | Ruby on Rails | Golang | Vue.js | Web Map API

Following
  • Gary Huang

    Gary Huang

  • Milk Midi

    Milk Midi

  • 被端走的小菜

    被端走的小菜

  • vgod's blog

    vgod's blog

  • Denny

    Denny

See all (35)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams