Debugging with Exceptions - Ruby on Rails
Ran into a bit of trouble with a model today, after a bit of a google I came across this technique which helped me solve it: This simply allows you display variable…
Read postLet's take a look at what I've broken today
Page 34 of 36
Ran into a bit of trouble with a model today, after a bit of a google I came across this technique which helped me solve it: This simply allows you display variable…
Read postWhile trying to do a migration today I received the following message: undefined method `to_sym’ for nil:NilClass #After running a trace (rake db:migrate –trace)…
Read postHad a bit of a muck around with jQuery sliders today, just though I’d post the code I used to set a default value in case anyone else has a use for it: Just sub…
Read postJust another quick problem I ran into with rails this afternoon – how to submit a form_for to a custom action. Luckily there’s quite a bit on how to do this in the…
Read postIn the middle of doing up some documentation I realised that the formatting and colors aren’t kept when you copy and paste from Notepad++ to Microsoft Word. Luckily…
Read postRan into the following error when trying to open a word document stored on SharePoint today: The document could not be opened for editing. A Microsoft SharePoint…
Read postEditing a message catalog definition in PeopleSoft is pretty straight forward, simply browse to the following menu path: PeopleTools > Utilities > Administration >…
Read postRan into a bit of a problem with jQuery today, not entirely sure what the issue was but apparently it did not like me using the .get() function. I received the…
Read postRan into another flash notice issue, my messages were not disappearing after the first view. My code was as follows: It turns out that all you have to do to fix this…
Read postWhile at work today I discovered that there doesn’t appear to be any built in functionality to allow for a delay to be implemented within PeopleCode. Thankfully there…
Read post