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 19,770 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

denschub
denschub commented May 14, 2019

@Waithamai raised a valid concern about the 2fa instructions. These instructions are clear to people who are already familiar with how TOTP works. However, we may reach an audience of people who have heard that 2fa is a thing, but who not yet have a solid understanding about what it is and how it actually works.

I think we can do a better job at educating users. So let's do it.

<bountysource

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

fidalgo
fidalgo commented Aug 8, 2019

This code "a" .class despite of being a valid ruby code, can be improved by removing the space.

I've searched the documentation in order to find something already implementing this, but haven't found nothing, just the style cops for dot position in the method chain.

Input:
"a" .class"
Expected:
"a".class"

MatthewKennedy
MatthewKennedy commented Oct 14, 2018

This is not really a bug with Spree, more of an issue with image caching and using a CDN for images served through Rails 5.2 Active Storage, but I figured it might be useful to have a documented solution on this issue for other Spree users.

Issue

Active Storage is simple to set up and get working, but offers no out of the box solution for serving your public facing images through a content

FunkyloverOne
FunkyloverOne commented Aug 21, 2019

Perhaps it is related to #1770.

So the README says that an example below will be normalized:

curl -H "secret_PassWord: swordfish" ...

But actually - it won't. If header name contains an underscore - in env it will remain as is and without HTTP_ prefix, and it won't appear in headers helper at all.

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

lk-geimfari
lk-geimfari commented Aug 30, 2019

Well, we need to check all the projects and remove outdated ones.

We declare this in the readme:

However, keep in mind that we don't accept mammoth's shit. Only active and interesting projects with good documentation are added. Dead and abandoned projects will be removed.

But, sadly at this moment, this project looks like a mammoth shit itself.

We really need to fix it. I think

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.