search for: zhimin

Displaying 19 results from an estimated 19 matches for "zhimin".

Did you mean: zhilin
2008 Apr 30
3
pretty url
I want to write a permalink like /year/month/day/title, code is as follows: self.permalink = "#{now.year}/#{now.month}/#{now.day}/#{title}" in the view, I use restful url post_path(@post). And in the html source code, the url is /posts/2008%2F4%2F30%2FTest You can see, the ''/'' is replaced by "%2F", which is not I expect. How not to replace the
2008 Sep 09
3
drag_accept_files undefined in 1.9.8 (mingw32)
Hi, I got "undefined method ''drag_accept_files'' for Wx::Frame" The doc (http://wxruby.rubyforge.org/doc/window.html#Window_dragacceptfiles) indicates it''s available on Windows. Thanks, Zhimin -- Posted via http://www.ruby-forum.com/.
2009 Sep 10
1
App freezes on wxruby-19-2.0.1 on Windows, fine on Mac
...mouse operations are fine. Once freezing, Ctrl+C couldn''t end the process. My env: Windows XP ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-mingw32] It might be specific to my application (no issues on Ruby 1.8 with wxRuby 2.0.0 though), but hope get some advice on it. Thanks, Zhimin -- Posted via http://www.ruby-forum.com/.
2010 Nov 07
1
On Mac: undefined method `create_popup_menu' for #<Wx::TaskBarIcon>
Hi there, I got the following error every time when I tried right clicking the app icon on Dock. Env: Mac OS X 10.6 wxRuby: wxruby-2.0.1-universal-darwin-9 Error: undefined method `create_popup_menu'' for #<Wx::TaskBarIcon:0x1884be40> Backtrace: /Users/zhimin/Work/projects/testwise/vendor/source/darwin/gems/wxruby-2.0.1-universal-darwin-9/lib/wx/accessors.rb:50:in `method_missing'' /Users/zhimin/Work/projects/testwise/vendor/source/darwin/gems/wxruby-2.0.1-universal-darwin-9/lib/wx/accessors.rb:50:in `method_missing'' Thanks, Zhimin...
2008 Aug 05
1
Wx::StatusBar set_status_widths returns argument error
...g line in samples/wxStatusBar.rbw set_status_widths(1, 100) # Doc: set_status_widths(Integer n, Integer widths) Got error: wxStatusBar.rbw:17:in `set_status_widths'': wrong # of arguments(2 for 1) (ArgumentError) wxRuby version: wxruby-1.9.6-x86-mingw32. Thanks in advance. Regards, Zhimin -- Posted via http://www.ruby-forum.com/.
2009 Jul 12
1
wxWebConnect - Web Browser Control Library for wxWidgets
wxWebConnect Project - Web Browser Control Library for wxWidgets http://www.kirix.com/labs/wxwebconnect.html Found it from wxWidgets home page, downloaded the sample app, and impressed. Zhimin -- Posted via http://www.ruby-forum.com/.
2007 Apr 26
2
Bitmap in Toolbar display only a quarter of picture on Windows XP
I don''t know why the bitmap in toolbar displays only a quarter of picture on Windows XP, but it displays OK on Ubuntu. The attachments are results both on Windows XP and Ubuntu -- flyerhzm@hotmail.com _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2007 Apr 26
2
How to close Frame?
When I call frame.destory on Windows XP, I am told that CodeLineStatistics/init.rb:5: [BUG] Segmentation fault ruby 1.8.6 (2007-03-13) [i386-mswin32] This application has requested the Runtime to terminate it in an unusual way. Please contact the application''s support team for more information. What''s the correct way to close the frame? -- flyerhzm@hotmail.com
2009 Mar 31
15
Error: undefined method ''calc_min'' for #<Wx::IdleEvent>
...;'calc_min'' for #<Wx::IdleEvent:0xb115e44> OS: WXMSW Ruby Version: 1.8.6 wxRuby 2.0.0 Backtrace: (eval):154:in `calc_min'' (eval):154:in `layout'' (eval):154:in `process_event'' (eval):154:in `on_run'' (eval):154:in `main_loop'' Zhimin -- Posted via http://www.ruby-forum.com/.
2009 Jun 04
0
Wx::AuiNotebook.delete_page Segmentation fault
...veral times (while working most of time), I couldn''t create repeatable test case. main_frame.rb:1765: [BUG] Segmentation fault ruby 1.8.6 (2008-03-03) [i386-mswin32] line 1765: @notebook_content.delete_page(0) if @notebook_content Env: Ruby 1.8.6 p114, wxRuby 2.0 msin32 on Windows XP Zhimin -- Posted via http://www.ruby-forum.com/.
2011 Mar 15
0
wxStyledTextCtrl: how to set caret at begining of a selection?
Hi there, I was trying to select text backwards in a StyledTextCtrl, i.e, want the caret to be in the front, not at the end of selection, however unsucessful. My code like this: set_selection_end(11) set_selection_start(5) Any suggestions? thanks in advance. Zhimin -- Posted via http://www.ruby-forum.com/.
2007 May 01
1
Text of Status Bar always disappear
The first time I create the status bar by call @sb = create_status_bar @sb.set_status_text(''Welcome to use Code Line Statistics'') it works perfect. But when I click a tool bar button that trigger an event, and call @sb.set_status_text(''Finish'') if the mouse is on the button, the text of status bar is "Finish"; but once the mouse is out of the
2007 May 01
1
How to insert item to ListCtrl
The only way I know to use ListCtrl is to call ListCtrl#set_item_count and define a callback function on_get_item_text(item, col) How can I insert Listitem one by one, that each Listitem is composed with several string -- flyerhzm@hotmail.com _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2007 Jun 25
2
Problem
This is the source code generated by SaltedLoginGenerator @params[''user''].delete(''form'') Can anybody explain what the delete message do? -- http://sourceforge.net/projects/mycodeline/ http://rubyforge.org/projects/ropenwiki/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
2012 May 22
1
rails-brakeman.com, an online service to find security issues in your rails projects
...in their rails project. Do you still remember mass assignment issues from github? Using rails-brakeman service can help you find out potential security issues before pushing them on production. Any questions or suggestions are welcome! Thanks, Richard -- Best regards, Richard Huang http://huangzhimin.com <http://www.huangzhimin.com>http://rails-bestpractices.com, http://railsbp.com https://github.com/flyerhzm <http://github.com/flyerhzm>, https://github.com/railsbp @flyerhzm, @railsbp -- You received this message because you are subscribed to the Google Groups "Ruby on Rails:...
2010 Jun 02
0
Segmentation fault on paste a long text into Scintilla
...In bundled samples\scintilla.rb, paste a long one-line text (see below) caused segmentation fault scintilla.rb:166: [BUG] Segmentation fault ruby 1.8.7 (2010-01-10 patchlevel 249) [i386-mingw32] However, It was Ok if not including last 100 or so characters (worked on 13100 characters). Cheers, Zhimin -- text copied <tbody><tr><td class="Application-content-title" width="460px"><table role="tablist" class="gwt-TabBar" cellpadding="0" cellspacing="0"><tbody><tr><td class="gwt-TabBarFirst-wrap...
2010 Aug 16
0
rails_best_practices gem 0.4.0 released
...ere: http://github.com/flyerhzm/rails_best_practices In addition, if you want to add your rails best practices into the gem, please post your best practices on http://rails-bestpractices.com -- Best regards, Richard Huang flyerhzm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org website: http://www.huangzhimin.com, http://rails-bestpractices.com github: http://github.com/flyerhzm -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To uns...
2010 Aug 22
0
Ask for best practices on rails-bestpractices.com
...large file with progress bar?". Then everyone can post your answer with your own best practice solution to the questions. Check it here<http://rails-bestpractices.com/questions> . -- Best regards, Richard Huang flyerhzm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org website: http://www.huangzhimin.com, http://rails-bestpractices.com github: http://github.com/flyerhzm -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To uns...
2013 Feb 01
0
watch ruby/rails conferences' videos and slides on your iphone/ipad
...ces-box/id594774178?ls=1&mt=8>, which collects ruby and rails conferences'' videos and slides, so that you can watch them on your iphone or ipad, try it now.<https://itunes.apple.com/us/app/conferences-box/id594774178?ls=1&mt=8> -- Best regards, Richard Huang http://huangzhimin.com <http://www.huangzhimin.com>http://rails-bestpractices.com, http://railsbp.com https://github.com/flyerhzm <http://github.com/flyerhzm>, https://github.com/railsbp @flyerhzm, @railsbp -- You received this message because you are subscribed to the Google Groups "Ruby on Rails:...