Ruby
Browse 28 guides in Ruby
Showing 28 of 28 guides
📄
Execute a command line binary with Node.js
Learn execute a command line binary with node.js with practical examples, diagrams, and best practices. Covers javascript, ruby, node.js development techniques with visual explanations.

In Rails, how do you render JSON using a view?
Learn in rails, how do you render json using a view? with practical examples, diagrams, and best practices. Covers ruby-on-rails, ruby, json development techniques with visual explanations.
📄
The website is under heavy load + ROR
Learn the website is under heavy load + ror with practical examples, diagrams, and best practices. Covers ruby-on-rails, ruby, apache development techniques with visual explanations.

How do I write to a file in Ruby?
Learn how do i write to a file in ruby? with practical examples, diagrams, and best practices. Covers ruby, file development techniques with visual explanations.

difference between each.with_index and each_with_index in Ruby?
Learn difference between each.with_index and each_with_index in ruby? with practical examples, diagrams, and best practices. Covers ruby development techniques with visual explanations.
📄
How do I upgrade Rails?
Learn how do i upgrade rails? with practical examples, diagrams, and best practices. Covers ruby-on-rails, ruby development techniques with visual explanations.

Bind Liquid Template Filter to a Context
Learn bind liquid template filter to a context with practical examples, diagrams, and best practices. Covers ruby-on-rails, ruby, templates development techniques with visual explanations.
📄
Why Array#slice and Array#slice! behave differently?
Learn why array#slice and array#slice! behave differently? with practical examples, diagrams, and best practices. Covers ruby, behavior, design-decisions development techniques with visual explanat...
📄
Get address from Geocode latitude and longitude
Learn get address from geocode latitude and longitude with practical examples, diagrams, and best practices. Covers ruby-on-rails, ruby, geocoding development techniques with visual explanations.
📄
Shortcut to make case/switch return a value
Learn shortcut to make case/switch return a value with practical examples, diagrams, and best practices. Covers ruby, switch-statement development techniques with visual explanations.

How do I square a number without using multiplication?
Learn how do i square a number without using multiplication? with practical examples, diagrams, and best practices. Covers ruby, algorithm, numbers development techniques with visual explanations.
📄
What is the difference between "bundle update" and "gem update"?
Learn what is the difference between "bundle update" and "gem update"? with practical examples, diagrams, and best practices. Covers ruby-on-rails, ruby, rubygems development techniques with visual...
📄
The ruby def << syntax for defining methods
Learn the ruby def << syntax for defining methods with practical examples, diagrams, and best practices. Covers ruby, savon, function development techniques with visual explanations.
📄
Reverse integer digits
Learn reverse integer digits with practical examples, diagrams, and best practices. Covers ruby development techniques with visual explanations.

How can I update Ruby version 2.0.0 to the latest version in Mac OS X v10.10 (Yosemite)?
Learn how can i update ruby version 2.0.0 to the latest version in mac os x v10.10 (yosemite)? with practical examples, diagrams, and best practices. Covers ruby, version development techniques wit...
📄
What is the difference between "rails s" and "bundle exec rails s"?
Learn what is the difference between "rails s" and "bundle exec rails s"? with practical examples, diagrams, and best practices. Covers ruby-on-rails, ruby, bundler development techniques with visu...

How to resolve "You need to have Ruby and Sass installed and in your PATH for this task to work" ...
Learn how to resolve "you need to have ruby and sass installed and in your path for this task to work" warning? with practical examples, diagrams, and best practices. Covers ruby, macos, bash devel...
📄
How to replace text in a ruby string
Learn how to replace text in a ruby string with practical examples, diagrams, and best practices. Covers ruby, arrays, string development techniques with visual explanations.

What's the difference between controllers and actions in ruby on rails?
Learn what's the difference between controllers and actions in ruby on rails? with practical examples, diagrams, and best practices. Covers ruby-on-rails, ruby, action development techniques with v...

Is "find_all" and "select" the same thing?
Learn is "find_all" and "select" the same thing? with practical examples, diagrams, and best practices. Covers ruby development techniques with visual explanations.

Rails cache: what is it and how it should be used
Learn rails cache: what is it and how it should be used with practical examples, diagrams, and best practices. Covers ruby-on-rails, ruby, caching development techniques with visual explanations.

How to use an enumerator
Learn how to use an enumerator with practical examples, diagrams, and best practices. Covers ruby, enumeration, enumerator development techniques with visual explanations.
📄
Difference between "or" and || in Ruby?
Learn difference between "or" and || in ruby? with practical examples, diagrams, and best practices. Covers ruby, operators development techniques with visual explanations.

Rounding float in Ruby
Learn rounding float in ruby with practical examples, diagrams, and best practices. Covers ruby-on-rails, ruby, rounding development techniques with visual explanations.
📄
No implicit conversion of String into Integer (TypeError)?
Learn no implicit conversion of string into integer (typeerror)? with practical examples, diagrams, and best practices. Covers ruby, redhat development techniques with visual explanations.

convert phone number into words
Learn convert phone number into words with practical examples, diagrams, and best practices. Covers ruby, arrays, hash development techniques with visual explanations.
📄
Ruby single and double quotes
Learn ruby single and double quotes with practical examples, diagrams, and best practices. Covers ruby development techniques with visual explanations.

How to generate a controller with Ruby on Rails?
Learn how to generate a controller with ruby on rails? with practical examples, diagrams, and best practices. Covers ruby-on-rails, ruby, controller development techniques with visual explanations.