Skip to content
yowasou edited this page Aug 13, 2023 · 3 revisions

ここは自由にテストできるページです。


puts("Hello, World")

コード片

def find(*args)
  options = args.extract_options!
  validate_find_options(options)
  set_readonly_options!(options)
  case args.first
    when :first then find_initial(options)
    when :last  then find_last(options)
    when :all   then find_every(options)
    else             find_from _ids(args, options)
  end
end
Clone this wiki locally