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 22,341 public repositories matching this topic...

thelucid
thelucid commented Jun 19, 2014

I've come up against a bug with ActiveRecord when using namespaces models and polymorphic associations, it's a common use-case so should probably be fixed before a 4.2 release.

Error:

NoMethodError: undefined method `relation_delegate_class' for Comment:Module

Example:

class Post::Base < ActiveRecord::Base
  self.table_name = 'posts'
end

class Post::Special < Post::Base
  has
graemerocher
graemerocher commented Oct 2, 2019

Currently register looks like:

   private static <T> void register(Map<T, T> substitutions, T annotated, T original, T target) {
        if (annotated != null) {
            guarantee(!substitutions.containsKey(annotated) || substitutions.get(annotated) == original || substitutions.get(annotated) == target, "Already registered: %s", annotated);
            substitutions.put(annotated,
burningTyger
burningTyger commented Feb 1, 2017

The Readme is our comprehensive sinatra documentation and deserves a lot of love. Thank you for everybody who has contributed to it so far!

The translations are great but some of them seem incomplete or outdated. For sinatra 2.0 they need a major overhaul and here's a list of languages that need to be worked on:

  • German
  • Spanish
  • French
  • Hungarian
  • Portuguese (Br
donv
donv commented Sep 22, 2020

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

Gemspec/RequiredRubyVersion enforces that gemspec.required_ruby_version is set and then complains that it differs from TargetRubyVersion in .rubocop.yml even if it is not specified in .rubocop.yml.

Having to specify TargetRubyVersion in .rubocop.yml in addition to gemspec.required_ruby_version duplicates the information.

Stratus3D
Stratus3D commented Feb 10, 2019

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

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.