Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in ruby

Split string by whitespaces, ignoring escaped whitespaces [duplicate]

ruby regex string split literals

How can I use index or rindex with a block in Ruby?

ruby arrays enumerable

Do I need to provide scope, url, and model in form_with?

ruby-on-rails ruby

Complex RSpec Argument Testing

ruby rspec

Im getting 'Error: PDF could not be generated! Bad CPU type in executable' on my m1 macbook

ruby-on-rails ruby apple-m1

Ruby 2.6.5 with jemalloc

ruby jemalloc

Ruby: Why does unpack('Q') give a different result than manual conversion?

ruby unpack

How to print raw string in ruby?

ruby string escaping

nokogiri and xpath -- nested looping with data set

Accessing a class method from within an Active Record scope?

WEBrick: log POST data

ruby post webrick

Ruby's `.present?` without Rails?

Regex: Match this string

ruby regex

Ruby: Convert Constant to String

ruby

How to make pundit policies more DRY?

ruby-on-rails ruby pundit

How to define global error handler for JSON in Sinatra

ruby sinatra

How to instantiate a model object with attributes?

Ruby: Remove all instances of a duplicate value inside an array

arrays ruby duplicates

Create random password when creating new user with Rails