front and back-end web development, Leeds, UK
Richard's Blog - Design, coding and life in Japan
BlogsSubmitted by Richard on Wed, 10/21/2009 - 13:04
Found this link yesterday... Awesome
21 Ruby Tricks You Should Be Using In Your Own Code
Submitted by Richard on Wed, 10/21/2009 - 10:07
I found the following error in one of my unit tests
SQLite3::SQLException: SQL logic error or missing database:
Submitted by Richard on Tue, 10/20/2009 - 08:58
I am creating a REST API in Rails which outputs JSON data. In some cases I need multiple objects to be pushed out in the data, which is fine until you need to use associations in the mix also.
form = Form.find(params[:id]) products = Product.all
Submitted by Richard on Sat, 10/17/2009 - 14:24
I was surprised about how easy and nice this solution was, I needed a separate model to manage 2 different kinds of sessions in my rails project. A regular user session and a cart specific user session. I don't know if this is the best way to organize my data but it is a legacy system that is built that way!
Submitted by Richard on Fri, 10/16/2009 - 09:37
I have finally got working with stripes and I must say I love it (So Far) I know not much beats the beauty of ROR but having come from a PHP background I must say stripes seems to make much more sense (to me anyway)
As always when I start a new project in something new I am plagued by language issues as I work mostly in Japanese. But these issues have been smooth and easy to fix.
First Tomcat - I needed to add all of the language filtering and settings that tomcat suggests.
Recent Blog Posts
- Testing controllers in Lithium 2nd Feb 12, 18:19
- Practical Internationalization in Lithium 31st Dec 11, 02:06
- Using OAuth in Lithium 30th Dec 11, 23:47
- How to add your own Tokens from CCK fields in Druapl 7 17th Jun 11, 04:49
- Weaving Lithium #li3 into a legacy PHP application incrementally 5th Oct 10, 11:54