[Rails] Re: is AR find(:all) a 100% named_scope?

2009-11-09 Thread HeChian Hsu
? in the mean time I will refactor my code and make my > specs happy :-) > > cheers, > joaquin > > > > HeChian Hsu hechian...@gmail.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ru

[Rails] Mysql::Error: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE)

2009-08-04 Thread HeChian Hsu
* FROM `scores` WHE RE (`scores`.`product_id` = '7' AND `scores`.`iphone_identifier` = '6b194f783d645ba1a7c30c0e31b1b67300eb0a25' AND `scores`.`player_name` = '一') LIMIT 1): app/controllers/scores_controller.rb:59:in `create' Any ideas? Thank you. HeChian Hsu

[Rails] About rails_cron this plugin

2009-07-24 Thread HeChian Hsu
Do anyone knows where can I to download it? Or anyone can give me an advice for a new plugin like this one? Thanks! HeChian Hsu hechian...@gmail.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on

[Rails] Re: Upgrading from Rails 1.2.6

2009-07-08 Thread HeChian
Your existing apps will not be upgraded after you upgrade your Rails version. You should upgrade them by hand. First, modify your config/environment.rb # Modify following line # RAILS_GEM_VERSION = '1.2.6' unless defined? RAILS_GEM_VERSION RAILS_GEM_VERSION = '2.0.2' unless defined? RAILS_GEM_V

[Rails] Re: About rubygems

2009-06-28 Thread HeChian
Thanks for reply but I can't use sudo command :( 在 2009/6/29 下午 12:09 時, Älphä Blüë 寫到: > > HeChian wrote: >> Hi all. >> My host install ruby in /usr/local/ but install rubygems in /home/ >> user/ >> ruby/. >> so, when I startup my rails project it

[Rails] About rubygems

2009-06-28 Thread HeChian
Hi all. My host install ruby in /usr/local/ but install rubygems in /home/user/ ruby/. so, when I startup my rails project it always return error to me said that it couldn't find any rubygems lib. anybody knows how to solve it? thanks! --~--~-~--~~~---~--~~ You

[Rails] Re: Rails Web Site

2009-04-24 Thread HeChian
Okay.. The ruby on rails website already come back! 在 2009/4/24 上午 1:40 時, momingle 寫到: > > That is why: > http://www.h-online.com/open/RubyOnRail-org-off-the-rails--/news/113132 > > momingle > http://momingle.com > > On Apr 23, 12:10 pm, Gary Taylor wrote: >> Whenever I go to the rubyonrails.

[Rails] Re: still cannot install rails on windows

2009-04-21 Thread HeChian
About libmysql.dll, you can download MySQL Windows Version and copy the libmysql.dll to C:\Windows\System32 And, I think you can download InstantRails to learn how to develop rails application on Windows if you are a newbie. Good luck. 在 2009/4/22 上午 1:20 時, SpringFlowers AutumnMoon 寫到: > >

[Rails] Re: Show and hide from list with toggle

2009-04-19 Thread HeChian
nk_to_function "+", "link_long_id".toggle(), :style => > 'text-decoration:none' %> > This does not work. > > Thank you! > -- > Posted via http://www.ruby-forum.com/. > > > > -- Yes! I'm HeChian :) http://hechian36.pixnet.net/blog --~--

[Rails] Re: Help to get on with jquery

2009-04-05 Thread HeChian
gt; pls help me to get on with jquery on rails. > > > Thanks > -- > Posted via http://www.ruby-forum.com/. > > > > -- Yes! I'm HeChian :) http://hechian36.pixnet.net/blog --~--~-~--~~~---~--~~ You received this message because yo

[Rails] Re: How can I upload images to another server by FileColumn?

2009-04-02 Thread HeChian
i'm assuming you're looking for help w/ the uploading part, and not > > the differences in servers) > > > > hth > > > > On Mar 31, 11:12 pm, HeChian wrote: > > > > > > > > > Hi, > > > I have a big trouble.. :( > > > I

[Rails] Re: How can I upload images to another server by FileColumn?

2009-04-01 Thread HeChian
ot's Paperclip: > http://thoughtbot.com/projects/paperclip > > it's simple, handles permissions/deletions/mime-types. > > you can also find some great tutorials online to get started. > > (i'm assuming you're looking for help w/ the uploading part, and not > the diffe

[Rails] Re: make a clickable

2009-04-01 Thread HeChian
I think you can make it done by jQuery or Prototype with CSS Selector: content (function($){ $('tr.clickable').click(function(){ // You can use .live('click', function(){}) if you use jQuery 1.3.1 or higher // Link to ... }); })(jQuery); On 4月1日, 下午12時39分, Richard Schneeman wrote: > I woul

[Rails] How can I upload images to another server by FileColumn?

2009-04-01 Thread HeChian
Hi, I have a big trouble.. :( I have two hosts. One is private, another is public. Administrators will upload images in private host, but the images will not be place in the public host. I use FileColumn to be my uploading plugin. Any advices? Thanks :) --~--~-~--~~~--