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 20,742 public repositories matching this topic...
Motivation
Hi, I've struggled (like a lot of persons it seems) with setting up github pages with shpinx. In particular, the way include works on folders/subfolders.
To solve the problem, I went to the documentation and looked how it was done in the default configuration [here](https://jekyllrb.com/do
-
Updated
Apr 21, 2020
Question Checklist
- Updated fastlane to the latest version
- I read the Contribution Guidelines
- I read docs.fastlane.tools
- I searched for existing GitHub issues
I'm using match and gym back to back, with more than 1 app
-
Updated
Apr 22, 2020 - Swift
In https://github.com/Homebrew/brew/pull/7371/files I have added lots of # TODO: check could be in RuboCop comments to Library/Homebrew/dev-cmd/audit.rb. These indicate that the audit check/problem below does not rely on Formula state so could be moved to a RuboCop (https://github.com/Homebrew/brew/tree/master/Library/Homebrew/rubocops) to be faster, more reliable and provided in-editor to u
Devise.config.send_email_changed_notification sending "Emailed Changed" email when user signs up
Environment
- Ruby 2.4.5
- Rails 4.2.11
- Devise 4.6.1
Current behavior
Devise is sending the "Email Changed" email when a user first signs up. This email is unnecessary because they haven't confirmed this email yet.
GIF showing both "confirmation" email AND "email changed" email.

Actual results
The content of the output indicates that the tool is not aware of the input command, as illustrated:
- it suggests to run that last,
vagrant global-status --prune. - statement "_The above shows information about all known Vagrant environments on this machine.. This data is cached and may not be com
🚀 Feature Proposal
Selenium 4 brings a set of all-new features and https://www.selenium.dev/documentation/en/ needs to be updated to contain the related docs for them.
Motivation
It'd be nice to have the following new features covered in the docs:
- Relative locators
- CDP integration
- New Grid 4.0
Example
...
-
Updated
Apr 22, 2020 - Ruby
Personally, I think it should be possible to know if a method is expected to return == 1 or >= 1 results. I was the opinion that it is part of the style guide already, but I could not find it today.
Of course, a method ending with an s can still return only one result, but it should be an array.
# bad
def rating
[1, 6, 3, 10, 5]
end
def ratings
10
end
# goodI 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
Does Truffle support making a programming language in a new character set?
This is with reference to this question. My understanding is tha
So it seems there is a variable current_path which points to wherever :deploy:to/current symlink points. So after deploy:symlink:release it points to the current release.
Also there is a variable release_path that seems to point to the current release directory which is created by create_release task.
What
I am reading this link right now:
http://sinatrarb.com/contrib/reloader
Would it be possible to extend this documentation slightly, e. g. by adding a complete stand-alone example, and explaining how to use it?
Sorry for these newbie questions but I am still only slowly learning sinatra; that takes some time.
I understand that a reloader helps reload/restart the server (I suppose) upon
-
Updated
Apr 20, 2020
Would be nice to be able to add more unique information on a per store basis.
Useful field Examples:
- Full address (replace the static address that is hard coded into the footer).
- Dedicated field for customer facing contact email address (in case you want to use a separate send from such as a no-reply@you.com).
- upload store logo.
- upload store favicon image.
-
Updated
Apr 22, 2020 - Ruby
Link to API is down
I think it would be a good idea to mention the tee command, probably somewhere in the "Cat, Less, Tail and Head" chapter
Hi, we're struggling to work through an issue where a Rails controller and a Grape API endpoint both run the same underlying ActiveRecord query - literally the same code, and do nothing else, but the controller version runs in average 116ms and the Grape version in average 3.5s.
Here are the two in Skylight, which is great, but doesn't give us the granularity we need to investigate further:
fluentd version : 1.1
In parse section parameter keep_time_key and format section parameter include_time_key is same characteristics. I suggest that they be unified, and I suggest the default value is true.
see:
Expected behavior
If I go to the documentation site, and I see a feature documented, I should be able to use it or at least be informed about the series it was (or will be released).
Actual behavior
Features are documented in the website as soon as the land into master, but the release cycle is much slower.
How to reproduce
See #5497 for an example.
Complete YARD docs
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
-
Updated
Apr 21, 2020 - Ruby
-
Updated
Feb 29, 2020 - Ruby
Hi everyone,
I did setup a fresh rails project (--api)
Rails 5.2.4
wrote some routes,
wrote some assert_routing tests,
everything was fine.
generated a model "releases"
all tests immediately did fail with:
ActiveRecord::StatementInvalid: SQLite3::SQLException: incomplete input: INSERT INTO "releases"
The culprit was fixtures/releases.yml
When I removed that file, that error message