It seems one can't run Rails 3 apps with cpanel:
Sunday 24 October 2010
Saturday 23 October 2010
The road to Rails 3
I just found one very useful article about migrating from Rails 2.3 to Rails 3:
The Road to Rails 3: make your Rails 2.3 project more Rails 3 oriented
Friday 22 October 2010
Prototype + jQuery != trouble
Having to use both Prototype and jQuery in a web app is something quite probable to happen. Trouble comes when both libraries share the global dollar-sign function. There is a remedy: Using jQuery with Other Libraries
Thursday 21 October 2010
Rails 3: errors.add_to_base
According to the official doc errors.add_to_base has been deprecated in Rails 3 and one should use errors.[:base] << "Msg"
Wednesday 20 October 2010
Rails 3 escapes every string in <%= %>, so some HTML/Javascript might not work
Rails 3 escapes every string in a <%= %> automatically, i.e. applying the h() helper to it, so there might be some trouble with some hard-coded text constants:
Tuesday 19 October 2010
A Reader implementation for Java Mobile that supporting more encodings
Java Mobile all in all supports ASCII and UTF-8.
AlbiteStreamReader provides the ability to read characters from other encodings.
java.util.zip for Java Mobile
Well, as I've been working on my ebook reader for the java mobile platform, and had decided upon having ePub as the standard book format for it, I bumped into the problem of decompressing zip files in Java Mobile. Well, thanks to the guys from GNU (and, respectively, their Classpath project) and some minor modifications from me, I've assembled a working version of java.util.zip for Java Mobile.
Random reading for Java Mobile
The lack of the RandomAccessFile class in J2ME's File API is quite a trouble when implementing something more advanced. It's especially true, if one needs to read some binary file in a non-linear fashion. To remedy this I wrote the AlbiteRandomReadingFile API that implements some similar functionality.
Monday 18 October 2010
Everything seems to be deprecated in Rails 3
I've just built my Rails 2 app, and then it turned out the hosting provider had upgraded to Rails 3 and had dropped Rails 2 support completely.
Subscribe to:
Posts (Atom)