Skip to content
#

Ruby

ruby logo

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 20,028 public repositories matching this topic...

aspiers
aspiers commented Dec 6, 2019

https://edgeguides.rubyonrails.org/association_basics.html#the-belongs-to-association says:

A belongs_to association sets up a one-to-one connection with another model

However (unless I'm going crazy), this is not accurate, because belongs_to can also set up a many-to-one relationship as the other side of has_many. This is explicitly stated in [the has_many section of the same gui

jekyll
fastlane
brew
caarlos0
caarlos0 commented Aug 17, 2019

A detailed description of the proposed feature

When upgrading a bottle, first download the new version, then remove the old one and, finally, install the new.

The motivation for the feature

When upgrading things, the thing being upgraded will be unavailable for some time, since its first removed and then the download starts.

I regularly run brew upgrade and keep working since it

Valuuin
Valuuin commented Oct 1, 2019

🚀 Feature Proposal

In the Java class RemoteWebDriver within the method:
protected Response execute(String driverCommand, Map<String, ?> parameters)

the execute command is wrapped around logs statements:

log(sessionId, command.getName(), command, When.BEFORE);
response = executor.execute(command);
log(sessionId, command.getName(), command, When.AFTER);

can this be changed

crowbar27
crowbar27 commented Oct 13, 2019

I have setup rbenv according to the documentation on a fresh CentOS 7.7 machine. The result is that the installation does not work (ruby is not found regardless of me adding it as local or global). I finally found out that the shims directory never makes it to the path and therefore executed

echo 'export PATH="$HOME/.rbenv/shims:$PATH"' >> ~/.bash_profile

which made the stuff work. I a

rubyFeedback
rubyFeedback commented Nov 14, 2019

Whenever I try to install the sinatra gem, the first install hangs during:

"Installing ri documentation for sinatra-2.0.7"

I manually interrupt it, then do it again, and then it works.

I have no idea what causes it, but all the other gems and their ri
documentation do not have this issue.

I believe that there must be something special for sinatra documentation
done that causes this b

brodock
brodock commented Jan 24, 2020

Is your feature request related to a problem? Please describe.

There are a few situations where you have only the Cop name but you are not able to figure out what it is enforcing. Here are a few examples:

  • CI fails
  • Someone disabled a cop inline on the source code
  • A new issue is discussing enabling/disabling a specific Cop

Describe the solution you'd like

It would be useful

enderahmetyurt
enderahmetyurt commented Oct 12, 2019

Hi,

After searching a product on spree from search box. We see that screen

Screen Shot 2019-10-12 at 23 28 50

Instead of Search results for 'rails' result string, should we write We found 7 products related to rails. ?

What do you think?

Or is there a

iammattmartin
iammattmartin commented Jan 20, 2020

Would love to hear if anyone has extended out postal to a HA setup. With the postal install looking for IPs bound locally, that causes some issue.

Extending out the database/queues shouldn't be too hard but comes down to how mail is sent.

Having single reliance on a VM/server running postal is always a worry. Whilst the underlying hardware (for us) has resilience, there is still the single p

Timunas
Timunas commented Sep 10, 2019

Custom error formatter must have now 5 arguments instead of the old 4. These changes were introduced here on #1652

When migrating from 0.19 to 1.1.0 I had issues on a custom error formatter because the original_exception argument was introduced but that change was not documented on the upgrading guide.

connorshea
connorshea commented Sep 21, 2019

Here are all the Faker classes that have been updated with YARD docs/need to be updated:

  • Blockchain
    • Aeternity (#1742)
    • Bitcoin (#1553)
    • Ethereum (#1553)
    • Tezos (#1553)
  • Books
    • Book (#1553)
    • Culture (#1553) - Still needs descriptions for the YARD docs.
    • Dune (#1553)
    • Lovecraft (#1553)
  • Creature
    • Animal (#1
yuki24
yuki24 commented May 24, 2018

We've received a good amount of feedback for formatting values instantiated within the page_entries_info method. Currently we don't have a concrete interface for the method and Kaminari users need to implement a decorator that's not intuitive. It would be helpful if the method sends a certain sed of messages to the collection object. I'm not sure what the interface should look like, but here i

Created by Yukihiro Matsumoto

Released December 21, 1995

Repository
ruby/ruby
Website
www.ruby-lang.org/en
Wikipedia
Wikipedia

Related Topics

language python rails
You can’t perform that action at this time.