Language Tutorial Archives | Spidren

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...
lesson,learned,ruby,rails app,dockerizing,learned from dockerizing,dockerizing ruby,ruby on rails,how to learned,tips to learned

learned from attempt of dockerizing Ruby on Rails app

Docker impressed me since first time I’ve heard about it on local development conference. Few years passed while I’ve tried this by myself. Here is a story of my experience with Docker...

BREAKING NEWS

How to Get Into and Out of iPhone Recovery Mode

Many problems with the iPhone can be resolved by restarting it, but some more complex problems require putting the iPhone into recovery mode. This shouldn't be...

TUTORIAL