List API
There are 2 problem that you may solve. You can create a text file with your answer and send to gizipp.gizipp@gmail.com, write on pastebin, or reply with your answer. Here's the problems :
Make a small Ruby script to find the occurrence of each character in a word
a)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'mechanize' | |
require 'pry' | |
require 'csv' | |
query = 'racing multiplayer' | |
agent = Mechanize.new | |
page = agent.get("https://play.google.com/store/search?q=#{query}&c=apps") | |
top_50_apps_links = [] | |
page.links.each do |link| |
How to upgrade Rails 4 into Rails 6? Step by Step
-
It's recommended to set ruby into e.g v2.6.5 by creating
.ruby_version
(if your are using rbenv) and addruby '2.6.5'
in Gemfile# Gemfile source 'https://rubygems.org' ruby '2.6.5'
- Add rspec-rails in development and test group
group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
gem 'sqlite3', '~> 1.4'
gem 'rspec-rails', '~> 3.9.0'
end
- Classes can be no longer than one hundred lines of code.
- Methods can be no longer than five lines of code.
- Pass no more than four parameters into a method. Hash options are parameters.
- Controllers can instantiate only one object. Therefore, views can only know about one instance variable and views should only send messages to that object (@object.collaborator.value is not allowed).
https://yiming.dev/blog/2017/08/23/sandi-metzs-rules-for-oop/ https://thoughtbot.com/blog/sandi-metz-rules-for-developers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://visitcenter.org/call-for-entries/ | |
https://jipfest.com/call-for-submissions/ |
NewerOlder