In my seeds.rb file I would like to have the following structure:
seeds.rb
# begin of variables initialization groups = ... # end of variables initializa
Andrew Grimm mentions END; there's also BEGIN
foo "hello" BEGIN { def foo (n) puts n end}
You can't use this to initialize variables because the {} defines a local variable scope.