One more day walking to hackership, but today I was sad, is the last day of the only new friend I’ve met in Berlin, she is from Spain and she is going back. We’ve talked a lot about what it means to try to find your place somewhere else, never easy, and Germany is not an easy country for that. But we’ve found each other which at least is something nice.
Of course, the day was Grey again.
Just a bit after arriving, stand up round and then a need to check the mail, answer pending ones. Most of the morning I tried to get focus in integration tests, when I start a new task I tend to procrastinate a lot till I get focused.
So while procrastinating I’ve found a book by the people of thoughtbot “Ruby Science. The reference for writing fantastic Rails applications” which I guess must be interesting so I just download it…another pending book to read :-/
Since integration means to begin to deal with frontend, I’ll need to know more about CSS, which I’ve always kind of avoid it as much as possible since I think is a pain, but it’s time to learn some CSS tricks and after checking it a bit I decided to read how to display tables, here a very complete guide to the table element
On the way, having to deal also with Emacs, I’m tending to have the terminal split in 2 but sometimes I like checking something else so I split it once more, but I didn’t know how to undo the last split ….but nice to have sited someone in front that can just answer the question 🙂
Crtl-X 0 to undo the last split in windows with emacs 🙂 and just remembered, this random things that happen to me sometimes, that to resize the windows is with Ctrl-shift + right/left arrows
Rails Q&A session was at 15h, so first some lunch. Today I decided to go to the O-Platz camp, to check what happening, how are things going on there, after Sundays eviction menace. When I arrived there I asked about yesterday’s meeting, one of the refugees told me, yes there is a meeting now, I bit confused about the relation between yesterday’s meeting and today’s, I just went to the tent and see.
The thing was that the district mayor of Friedrichshain-Kreuzberg was there, talking directly with the refugees. It looks like the Government of Berlin has given an ultimatum to the camp, December 16th they must be out. Kreuzberg district mayor supports the refugees but has to carry out the order of eviction (or possibly it will be carried out in any case) so the thing that was being talked was “What can it be done”, there is a try to get a house for the refugees that are sleeping outside in the square, but they don’t want to leave, to be in the street means visibility, means to know that they are there, means that show European migration politics, means to know that the Lage are like prisons for the refugees, that many suicides are taking place without anybody doing anything about it, means that people, because they were not born in Europe have no human rights.
After the discussion I was already very cold, so I got close to the fire, to warm a bit, to understand a bit more refugees reaction to the presence of the politician, and suddenly one of them embraced me gently, I heard him sob, then he introduced himself, I introduced myself. I thought, maybe this is what is needed, to feel that we are all humans beings.
Back to the Betahaus, to the Rails Q&A session, but with me I brought the smell of O-Platz, my clothes got the smell of the smoke, it’s been with me the whole day. Today O-Platz had a small presence in Betahaus.
It was difficult to concentrate today, but still revision of Rails associations, callbacks. Just some tips that clarify things that I’ve already read many times, but it looks like now begins to be the moment to actually remember these things
belongs to saves foreign key in its table
has_many saves foreign key in the external table
We were about to end the session when routes came out, also a quick intro, but maybe began to be too much for a session, though for doing the basics was ok, missing the nested routes, etc… next time.
Back to the point where I was a red test
1) events List of all the events
Failure/Error: expect(page).to have_link('Edit', edit_event_path(event))
can't convert Symbol into Integer
Didn’t really get what it meant but the thing that was missing was the href before
expect(page).to have_link('Edit', href: edit_event_path(event))
Meanwhile doing some integration tests and views but really slowly … mmm … at this rhythm those simple views will take me ages to do them.
While procrastinating another bit, I checked the hackership IRC channel, I picked a link that I will need soon about css positioning
The day ended having some drinks and eating some cake with friends, it was the gathering to say goodbye to the great person I woke up thinking about, before she leaves tomorrow. Next time we’ll probably see each other in Southern coordinates.Meanwhile I hope she really enjoys going back home and the implementation of her new projects.