Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in ruby

Undefined method 'set_cookie' for capybara How can I create a cookie?

ruby selenium rspec capybara

How to write a RuboCop Cop to prevent writing Sidekiq workers using keyword arguments?

Ruby example of Net::HTTP for GET, POST, PUT, DELETE

ruby net-http

How to stub a module method inside a controller with Mocha

What is the "-S" flag used for in Ruby?

ruby

ActiveStorage CSV file force encoding?

slice vs extract! rails 5

How do I log particular events from Rails to a log file?

ruby-on-rails ruby

Rails inverse of Polymorphic association in concern gives TypeError: can't cast Class

ruby-on-rails ruby

Rails 4.2.1 Devise 3.5.2 undefined method `token_authentication_key=' for Devise:Module

How do I test (TDD) a singleton class?

ruby tdd minitest

Convert a class to a subclass on instantiation

ruby oop factory-pattern

How to count the number of zeros at the start of a string

ruby regex

Rails, how to specify which fields to output in a controller's JSON response?

What is this "Unscoped call to" warning in Brakeman?

ruby-on-rails ruby brakeman

Sort by either created_at or updated_at (whichever is more recent) Ruby on Rails

Getting the parent id of a given process in Ruby

Ruby if else in array.each

arrays ruby if-statement each