Skip to content

Instantly share code, notes, and snippets.

View nlinn's full-sized avatar
🐢
I like turtles

Niels Linnemann nlinn

🐢
I like turtles
View GitHub Profile
@nlinn
nlinn / gist:5199733
Last active December 15, 2015 04:09
Wir wollen mit Dir Abschied feiern
Liebes blau-Team,
wir möchten uns für die tolle Zusammenarbeit in den letzten Jahren persönlich bedanken
und laden daher alte und neue Kollegen, Freelancer und Wegbegleiter ein, mit uns auf
die spannende, lehrreiche und manchmal auch anstrengende Zeit anzustoßen, die nun
hinter uns liegt.
Wir treffen uns an einem für blau vertrauten Ort
im 13. Stock (Max-Brauer-Allee 277, Ecke Schulterblatt)
@nlinn
nlinn / interactor_validation.rb
Created April 28, 2020 07:39
Unexpected validation result
class DoSomething < ActiveInteractor::Base
def perform
end
end
class DoSomethingContext < ActiveInteractor::Context::Base
attribute :my_attribute
validates :my_attribute, presence: true, on: :calling
end