Skip to content

Instantly share code, notes, and snippets.

View matfiz's full-sized avatar

Grzegorz Brzezinka matfiz

View GitHub Profile

Keybase proof

I hereby claim:

  • I am matfiz on github.
  • I am the_greg (https://keybase.io/the_greg) on keybase.
  • I have a public key ASCNxBpM6_ZAnm4EiXw1pENEFkz-bDcPwsaxNGw9LTG99Qo

To claim this, I am signing this object:

@matfiz
matfiz / migration.rb
Created February 24, 2015 11:45
Reversible change_column Rails migration
reversible do |dir|
dir.up { change_column :posts, :name, :text }
dir.down { change_column :posts, :name, :string }
end
@matfiz
matfiz / gist:e5ac7ccc1ef66e3e01bf
Created May 9, 2014 08:00
Useful Rails stuff
http://www.sitepoint.com/boosting-your-rails-development-workflow/
@matfiz
matfiz / gist:b7cfdad955df9b3ab09b
Created May 5, 2014 21:27
Nginx+unicorn+rvm@ubuntu 14 setup
https://gist.github.com/jamiew/626672
https://github.com/rails/rails/issues/14534
https://coderwall.com/p/yz8cha - best
#wersja @sickill dostosowana przez @grzesiub do Devise 1.0.8 dla Rails 2.3
pl:
devise:
sessions:
link: 'Zaloguj'
signed_in: 'Użytkownik został zalogowany.'
signed_out: 'Użytkownik został wylogowany.'
unauthenticated: 'Musisz się zalogować lub zarejestrować aby kontynuować.'
unconfirmed: 'Musisz najpierw aktywować swoje konto aby kontynuować.'
locked: 'Twoje konto jest zablokowane.'