Language Tutorial Archives | Spidren
Home Tutorials Language Tutorial

Language Tutorial

3 Steps to Set up a Ruby Environment on your macOS

3 Steps to Set up a Ruby Environment on your macOS

MacOS comes pre-installed with Ruby. In fact, if you run ruby -v on your terminal, it will point you to the pre-installed version. However, if you're developing in Ruby, be it core Ruby...

4 Techniques for Writing Better Java language

Day-in and day-out, most of the Java we write uses a small fraction of the capability of the language's full suite of possibilities. Each Stream we instantiate and each @Autowired annotation we prefix to our...
How to Run Python and Ruby on Heroku with Multiple Buildpacks

How to Run Python and Ruby on Heroku with Multiple Buildpacks

One of my mentees here in codementor.io encountered a problem while running Python and Ruby together on Heroku. That session inspired me to write this tutorial—how to run more than one environment on Heroku. PROBLEM The project was working in Cloud9 without...
Be Careful When Passing Ruby Objects as Method Arguments

Be Careful When Passing Ruby Objects as Method Arguments

There's one part of the Ruby language that has tripped me up on several occasions. In Ruby, passing an object (i.e. just about everything in Ruby) as an argument to a method...
Stepped Forms and Conditional Validation in Rails

Stepped Forms and Conditional Validation in Rails

ActiveModel validations in Rails are awesome, but what happens when your UI doesn’t exactly match your data model? Or when you want multiple levels of conditional validations? A useful web application requires...

BREAKING NEWS

Disable “This Program might not have Installed Correctly” Prompt on Windows...

While installing or running programs on windows, you must have seen a notifier prompt with the title “This program might not have installed correctly“....

TUTORIAL