Rain Chen

Results 15 issues of Rain Chen

class User < ActiveRecord::Base scope_procedure :foo, :bar def self.bar(foo) end end User.foo("bar") will raise arguments not matching error. The issue code should be: ``` def alias_scope(name, options = nil) alias_scopes[name.to_sym]...

I think R-squared is a commonly used metric, can you implement this method? Here is a reference: http://scikit-learn.org/stable/modules/generated/sklearn.metrics.r2_score.html

Mongoid is popular as DataMapper, right?

related to #5258 BTW, this issue is hard to debug in test env since there is a setting in config/environments/test.rb as: ``` if Rails::VERSION::MAJOR >= 5 config.active_record.belongs_to_required_by_default = false end...

the original demo code in README is: ``` The Date#format Method class Date def format( spec ) self.strftime( spec.to_strftime ); end end The new Date#format method formats the date like...

idea

if your model contains an attribute named "phone", then you may got an exception

changes: group targets and colorful screen shot: ![iShot_2023-06-21_10 57 59](https://github.com/allaboutapps/go-starter/assets/71397/c18a703d-5a0b-4f5c-9b5e-0685feba9da8) issues: no idea how to strip the "Make variables" and "Special targets", maybe using different group mark for these special...

Add RERUN_INTERVAL environment variable and show a countdown counter before re-run script since OpenAI API has rate limit. And show total rounds counter when ran successfully. here is the preview: