similar to: Problem

Displaying 20 results from an estimated 600 matches similar to: "Problem"

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
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
2006 Feb 04
1
Issues with sending HTML email
Hello, I am using the SaltedLoginGenerator. Everything is working fine except the e-mail is being sent out as text instead of text/html. I have tried changing the Content-Type to text/html but to no avail. I even tried changing the Content-Type in tmail/facade.rb but it didn''t help. What am I missing? How can I get ROR to send a HTML email. Thanks Frank
2005 Oct 27
2
Fixtures are not loading into instance variables. Why not?
Hi, I have a fixture in a unit test and I see that the fixture is loaded correctly into the database table, but no instance variables are created. So now I''m stuck. More background: this is my first RoR project and I have just installed the SaltedLoginGenerator and generated its output. Running the unit tests gives an error, so I cut it down to just 1 test:
2005 Dec 28
5
Shared Hosting Rails Sites ?
I can''t decide between a2hosting.com, successfulhosting.com, site5.com (which offers 11gb of disk space for $8.77/month -- I''ll never use it), planetargon.com (which offers 1 gb for $11/month), or railsplayground.com (which offers a gigabyte practically for free). Any experiences you''d like to share? Only a2 and planetargon list their gems on their web sites. All of
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
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 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/.
2007 Jan 03
2
Rails and bb forum integration
Hi, I''m new to Rails. Have read the Agile book. Working on new app, its going well. Now, I am at a crossroads. I need to choose a bbs for my site The significance for rails development is that I want to have single sign on between both my Rails app and my forum. I was just about to work on integrating the Rails SaltedLoginGenerator into my rails app when I read this post
2008 Jan 15
1
Application error Rails application failed to start properly"
I''ve been strugling for days trying to resolve this issue installing a rails project on a hosted server. I keep getting Application error Rails application failed to start properly" when I go to front page of my site. I followed instructions on this thread http://wiki.ocssolutions.com/Troubleshooting_a_Ruby_on_Rails_Application and still no luck I checked dispatch.* for proper ruby
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/.
2005 Dec 19
1
Is there a guide for using ERBSQL?
I''m not sure I completely understand the benefits of using ERBSQL or how to use it. Google searches have proved it to be rather undocumented. From what I understand the embedded ruby sql allows you to write sql that''s easier to deploy via the create_db script and also more portable to postgres, myslq, or whatever. But what I can''t find is a resource that
2006 Jun 20
2
website hosting
Hi, im looking for a shared web host account that will support rails (php 5 would also be a bonus) Has any one got any recommendations? thanks scott -- Posted via http://www.ruby-forum.com/.
2006 May 08
2
Ruby on Rails hosting solutions
All, Could any of you recommend an out fit for hosting my rails app that is not expensive with excellent support. Thanks Patrick
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