HungYuHei
HungYuHei
Base on #2, but beyond that, also store global activity item to Hash for memory efficient
When I upload the audio file (mp3, wav), from the log, the backend received **blank** parameters, meanwhile nothing has been uploaded. But if I upload image file, everything works fine.
My delayed_job(v2.1.4) configuation is: ``` Delayed::Worker.destroy_failed_jobs = false Delayed::Worker.sleep_delay = 180 Delayed::Worker.max_attempts = 10 Delayed::Worker.max_run_time = 10.minutes Delayed::Worker.delay_jobs = !Rails.env.test? ``` But all tasks was fired immediately Can I make...
Code snippet : ``` ruby r = Redis.new fields = ["foo", "bar"] r.hmget("KEY", *fields) # => ["1", "2"], got the correct values r.mapped_hmget("KEY", *fields) # => { "foo" => nil,...
ref: http://developer.apple.com/library/safari/#documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html
I ran `bundle update sunspot_solr sunspot_rails` , but I got this error message: ``` Gem::Package::FormatError: no metadata found in /Users/hung/.rvm/gems/ruby-1.9.3-p194@project/cache/sunspot_solr-1.3.3.gem An error occured while installing sunspot_solr (1.3.3), and Bundler cannot...
The **second one** works well but the **first one** broke down
My validation : ``` validates :name, :format => { :with => /^[\w\p{han}]+$/, :message => '只支持中、英文及数字' }, :length => { :in => 2..12 } ``` Please pay attention to the `\p{han}`...
I have read README, integrating in a rails application section: After an invitation is accepted, the invitee will be redirected to after_accept_path_for(resource), which is the same path as after_sign_in_path_for by...