Skip to content

Instantly share code, notes, and snippets.

View underhilllabs's full-sized avatar

Bart Lantz underhilllabs

View GitHub Profile

pics from 1873

Array.class_eval do
def delete_elements_in(ary)
ary.each do |x|
if index = index(x)
delete_at(index)
end
end
end
end

Cheat Sheets are greate but they are not a substitute for learning the framework and reading the documentation as we most certainly have not covered every potential example here. Please refer to the Rails Command Line Docs for more information.

Command Line Generator Info

Reference

You can get all of this information on the command line.

rails generate with no generator name will output a list of all available generators and some information about global options. rails generate GENERATOR --help will list the options that can be passed to the specified generator.

  • what he lacks in knowlege, he makes up for in certainty
  • what she lacks in pitch control, she makes up in volume
  • what he lacks in taste. he makes up for in appetite

Top 5 games to play in Person

once Quarantine is lifted

Euros

  1. Gaia Project
  2. Age of Steam
  3. Hansa Teutonica
  4. Pax Viking
  5. Arkwright (spreadsheets w/o convenience of Macros).
{
"status": "active",
"actions": [
{
"type": "bid",
"entity": "Player 1",
"entity_type": "player",
"id": 1,
"created_at": 1615249119,
"company": "DPR",
{
"status": "active",
"actions": [
{
"type": "bid",
"entity": "Player 1",
"entity_type": "player",
"id": 1,
"created_at": 1615249119,
"company": "DPR",
{
"status": "active",
"actions": [
{
"type": "bid",
"entity": "Player 1",
"entity_type": "player",
"id": 1,
"created_at": 1614711911,
"company": "GJGR",