The day started with learning about Rails helpers. Helpers are there to help keeping the views clean. You don’t want a lot of Ruby code in there but sometimes you wanna do rather complicated stuff there. So that's why you link to helpers. Helpers are modules, automatically connected to their controllers. The helper passes stuff to the view, after getting data from the controller (which talks to the model which talks to the DB). Things you want to use across lots of different views should go into the applications_helper.rb.
The rest of the day we spent hating Java.
Honestly... it's ridiculously hard to downgrade to an older version of Java, which we wished to do in order to work on another project. We spent the whole day researching and still have no clue how to do it. So any hints are welcome!
The rest of the day we spent hating Java.
Honestly... it's ridiculously hard to downgrade to an older version of Java, which we wished to do in order to work on another project. We spent the whole day researching and still have no clue how to do it. So any hints are welcome!