Flowdock

Notes posted by Alex2222

RSS feed
March 2, 2017
0 thanks

nope

If you pass nil as local file, it doesn’t write the file and only returns the content as string.

June 29, 2011
2 thanks

Default values

For common attributes in several models, you can set a default human name like this:

de.yml

de:
  attributes:
    bez: Bezeichnung
    abk: Abkürzung
January 6, 2010
1 thank

Alternative:

without using at

[:a, :b, :c].try(:[], 1)