PaperClip Issues - Ruby on Rails
I finally decided to replace all my existing code to handle images with Paperclip. I was following the screencast by Emerson Lackey, #134 Paperclip, however I ran…
Read postLet's take a look at what I've broken today
Page 11 of 12
I finally decided to replace all my existing code to handle images with Paperclip. I was following the screencast by Emerson Lackey, #134 Paperclip, however I ran…
Read postJust a quick post on an error I ran into today while using hidden fields: Thankfully this is an easy fix, simply amend your code as follows: And that’s all there is…
Read postMy goal for today was to populate a record with all of the Australian postcodes and their corresponding suburb and state descriptions. To do this I had to complete…
Read postThis is just a quick post on how to connect to particular database via the console in PostGreSQL. First, make sure you’ve logged in – just swap my_app for your role…
Read postJust a quick post on how to stop an app on Heroku: This will display a static page to all visitors but still allows for migrations etc: Image unavailable in the…
Read postJust a quick problem I came across in SharePoint today when trying to edit a file: Unable to edit files uploaded to document library where url length is more than 260…
Read postJust another quick post – how to create a button which does not submit a form when it’s clicked: Let me know if you have any problems.
Read postJust a quick post on the command to start the rails console: Here’s the documentation, it provides a pretty good summary of all the commands you’re likely to need.
Read postJust a very quick post on how to re-index Sunspot/Solr – simply open the console and enter the following command: That’s all there is to it, nice and easy!
Read postHey all, I’ve just gone through setting up will_paginate with sunspot 1.3, just thought I’d share in case anyone else has any troubles/improvements. In my case I’m…
Read post