Displaying 20 results from an estimated 800 matches similar to: "Bitmap in Toolbar display only a quarter of picture on Windows XP"
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
2012 May 22
1
rails-brakeman.com, an online service to find security issues in your rails projects
Hi,
I just released rails-brakeman.com, it is an online service to find
security issues in your rails projects, it works based on Justin''s great
gem brakeman <https://github.com/presidentbeef/brakeman>.
Rails developers always write code fast, but sometimes they leave some
security issues in their rails project. Do you still remember mass
assignment issues from github? Using
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
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
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
2009 Sep 30
5
A rails plugin to generate css sprite image automatically
Hi guys,
I have written a rails plugin/gem to generate css sprite image
automatically.
The project repository is here: http://github.com/flyerhzm/css_sprite
It is based on RMagick and you need only define a rule from what
source images to a destination image, as follows:
forum_icon_vertical.gif: # destination image file
sources: # source image file list
- good_topic.gif
2009 Sep 13
0
regrex_crawler -- a crawler which uses regular expression to catch data from website
RegexpCrawler is a crawler which uses regular expression to catch data
from website. It is easy to use and less code if you are familiar with
regular expression.
The project site is: http://github.com/flyerhzm/regexp_crawler/tree
I give an example: a script to synchronize your github projects except
fork projects, , please check example/github_projects.rb
require ''rubygems''
2010 Jan 07
0
flyerhzm-metric_fu = metric_fu + rails_best_practices
I have forked metric_fu and add rails_best_practices to it.
rails_best_practices is a great gem to check your rails app codes and
give you some good suggestions for better rails codes.
The repository of flyerhzm-metric_fu is here: http://github.com/flyerhzm/metric_fu
The repository of rails_best_practices is here:
http://github.com/flyerhzm/rails_best_practices
--
You received this message
2013 Feb 01
0
watch ruby/rails conferences' videos and slides on your iphone/ipad
Hi guys,
There are many ruby / rails conferences every year, like RubyConf,
RailsConf and JRubyConf, a lot of great sessions. I built an ios app named
ConferencesBox<https://itunes.apple.com/us/app/conferences-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
2010 Aug 16
0
rails_best_practices gem 0.4.0 released
Hi,
I have released rails_best_practices 0.4.0, rails_best_practices is a code
metric tool for rails codes, from 0.4.0, it can check the rails3 codes
better.
The project repository is here:
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,
2007 Jun 22
0
[1059] trunk/wxruby2/doc/textile/toolbar.txtl: Update ToolBar documentation to reflect recent changes in API
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2009 Sep 10
1
App freezes on wxruby-19-2.0.1 on Windows, fine on Mac
With wxRuby-ruby19- v2.0.1, my app works well on Mac. But on Windows,
it freezes after typing up to a dozen of characters in a
StyledTextControl, 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
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/.
2010 Aug 22
0
Ask for best practices on rails-bestpractices.com
Hi
http://rails-bestpractices.com added a new feature, asking for best
practices, it allows users to ask for a best practice about
any rails related work, such as "How to detect N+1 queries?" and "How to
upload a large file with progress bar?". Then everyone can post your answer
with your own best practice solution to the questions. Check it
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/.
2008 Aug 05
1
Wx::StatusBar set_status_widths returns argument error
Hi,
I added the following 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 Mar 31
15
Error: undefined method ''calc_min'' for #<Wx::IdleEvent>
Hi,
I occasionally had the following error when application in idle state.
Error: undefined method ''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
2009 Sep 25
1
how to remove bogusetag by hpricot?
I have use hpricot to translate users'' input html. I want to remove
bogusetag as follows:
>>doc = Hpricot "<p> test world</b></p>", :xhtml_strict => true
=>#<Hpricot::Doc {elem <p> " test world" {bogusetag </b>} </p>}>
>>doc.to_s
=>"<p> test world</b></p>"
what I expected is
2009 Aug 10
0
A rails sitemap plugin
Hi, guys:
I wrote a sitemap plugin for rails yesterday. This plugin will
generate the public/sitemap.xml from config/sitemap.rb whose format is
very familiar to config/routes.rb.
I think it is very helpful if you have a website written by rails and
want it to be crawled by spiders such as google, yahoo and baidu.
The home page of the plugin is http://github.com/flyerhzm/sitemap/tree/master
The