Skip to content

Instantly share code, notes, and snippets.

💭
Bringing Cactus.app to life

Scott Rocher rochers

💭
Bringing Cactus.app to life
Block or report user

Report or block rochers

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@rochers
rochers / gist:5d0b41cde0bb68ee47c3
Created Nov 6, 2014
Proposed new translation / methods for Carmen's country.rb
View gist:5d0b41cde0bb68ee47c3
class Country
....
def prepended_article
Carmen.i18n_backend.translate(path('prepended_article'))
end
def articlelized_common_name
prepended_article.blank? common_name : "#{article} #{common_name}"
You can’t perform that action at this time.