Informatika Mihelac

Articles tagged with bugs

November 13 2006 bugs 19 comments

Creating docs for Rails, Rails Edge, Plugins

If you are using Rails and want to access docs locally, you can do it with typing gem_server in command prompt. Documentation for Rails and other installed gems would be available at http://localhost:8808.

For those working on latest Rails, you can create documentation from project path with these Rake task:

rake doc:rails

And creating docs for installed Rails plugins is easy as well:

rake doc:plugins

If you are unfortunate to tun latest task on windows machine, you would soon realize it doesn’t work. Until fixed, you can hack it work by changing line 78 of source file in lib/tasks/documentation.rake to:

sh %(rdoc.bat #{options * ’ ‘})

June 05 2006 bugs 0 comments

Do not use 'puts' in Rails

Or at least be sure to delete all puts calls before deploying. If you deployed rails app and it does not work with FCGI while everything is good using webrick, look out for forgotten puts method. These bug? can be hard to track as there is no trace in FCGI or rails logs, just old, ugly “Rails application failed to start properly” message.

UPDATE: if you want to output something use logger.info "message"

August 23 2005 bugs 0 comments

BUGFIX: Floated list indent bug in IE5, IE5.5

When float is applied to unordered list, Internet Explorer 5 and Internet Explorer 5.5 add extra indent to all list items.

Here is the figure showing the bug:

Screenshot of floated lists 

Solution for the bug is to apply float to containing DIV element.

Example of the bug and solution as well as source coude can be seen on sample page.

About

I am Bojan Mihelac and this blog is dedicated to share code, thoughts, tools and advices I came up with while working in Informatika Mihelac.

Contact: bmihelac@mihelac.org

RSS feedSubscribe to RSS Feed