Ruby

Ruby was developed by Yukihiro "Matz" Matsumoto in 1995 with the intent of having an easily readable programming language. It is used by the Rails framework to create dynamic web-applications. Ruby's syntax is similar to that of Perl and Python.
Here are 28,120 public repositories matching this topic...

-
Updated
Feb 28, 2022
-
Updated
Apr 26, 2022 - Ruby
-
Updated
Apr 27, 2022 - Ruby
-
Updated
Apr 25, 2022 - Ruby
-
Updated
Apr 27, 2022 - Ruby
We have currently simple GitHub page, but we need to think about it's update with some better design.
-
Updated
Apr 26, 2022 - Ruby
-
Updated
Apr 23, 2022 - Ruby
-
Updated
Apr 27, 2022 - Ruby
Describe the solution you'd like
A generic modal for rate limit warnings was added in forem/forem#11102. It would be idea if all places in Forem that warned a user about rate limits used that model.
Start with app/services/rate_limit_checker.rb
and trace back paths from there. Some examples:
- creating too many reactions too quickly
- updating an article or
Since state
is a reserved keyword in Truffle's guard mechanism, it should not be possible to use it in a guard definition as this can cause serious problems. The annotation processor should either reject the state
keyword in guard definitions or the state
temporary variable produced by the processor should be renamed to avoid this conflict.
Here's an example:
<img width="629" alt="screen
Steps to reproduce
Run asdf
. In help output a line is printed for the asdf env
command:
asdf env <command> [executable] Prints or runs an executable under a command environment
I would assume <command>
is an arbitrary command. But from what I can tell needs to be a plugin name or a shim name? I'm also not sure how this differs from executing the shim directly.
FY
-
Updated
Mar 9, 2022 - Shell
-
Updated
Apr 26, 2022 - Ruby
-
Updated
Apr 21, 2022
-
Updated
Apr 26, 2022 - Ruby
~/code/rubocop$ grep -iro "autocorrect" . | wc -l
1971
~/code/rubocop$ grep -iro "auto-correct" . | wc -l
1551
Both autocorrect
and auto-correct
are used frequently in RuboCop. Should we be consistent? If so, which one?
Any change should only affect comments and other string content, not method names.
-
Updated
Apr 26, 2022 - Ruby
I am trying to write my own custom route matcher and using the example in the readme, I receive the following error:
AllButPattern can't be coerced into Mustermann::Pattern (TypeError)
Here is my example code:
require 'sinatra'
get '/index' do
'Hello world!'
end
class AllButPattern
Match = Struct.new(:captu
-
Updated
Apr 12, 2022 - Ruby
To allow Linux users to use brew services
and to make formula less OS dependent we should migrate the formulae to use the OS agnostic service do
block.
- bitlbee
- dbus
- kapacitor
- launch_socket_server
- launchdns
- opentsdb
- questdb
- rtags
- ssdb
- wildfly-as
- zookeeper
-
Updated
Apr 18, 2022 - Ruby
-
Updated
Oct 16, 2021 - Shell
We need to rewrite the delegate methods on
ActionController::Parameters
so that they no longer directly delegate to the underlying hash object.Problem
Currently
AC::Parameters
delegates some methods to the underlying object, and this causes the AC::Params to behave in inconsistent ways. For exa