Bellow are some issues that I met when upgraded from rails 1.1.6 to 1.2.x: 1.About enrivonment.rb Make sure your application configuration behind: Rails::Initializer.run do |config| ... end I met this issue when I put following code: require 'environments/localization_environment' require ' ...
After playing with Ruby for weeks, I found Ruby is yet interesting. I try to write my code a bit in the likeness of Erlang, where symbol vs atom, array vs list. And the most important syntax that I like are: everything return a value may return multiple values begin-end clause is lambda that may b ...
I'm recently doing a project under Ruby on Rail. It seems to be a reasonable programmer today, one should take at least > 3 languages. Personally, I like Erlang: lightweight process + message passing + functional programming + dynamic. It exactly matches my philosophy of looking the real world ...
Java does not support static method in interface. But sometimes, I just want a static method to say: PersistenceManager.getDefault(), where PersistenceManager is going to be an interface. I don't like to add one more class named PersistenceManagerFactory, with a method: public static Persistence ...
dcaoyuan
搜索本博客
最近加入圈子
存档
最新评论