Forum: Ruby on Rails Radrails warning about identical code structure can't removed

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
11ebe5f1f2b0eed8b8191d55da2918c3?d=identicon&s=25 Dan Z. (cmaj135)
on 2011-01-16 16:59
Here, RadRails is displaying a series of warnings telling me I have
identical code structure. Since this is RSpec code, it is very likely to
have identical structure,so i don't know how to do with it?any
suggestions or workarounds will be appreciated
62deaefabea7ff5b7c3b8b0e38c26aac?d=identicon&s=25 Gabriel Y. (gyarra)
on 2011-02-20 04:40
Hi Dan,

This can be fixed in the Aptana preferences.  It's a little confusing
because the warning is enabled/disabled in it's own preference pane
nested *under* the Errors/Warnings pane rather than simply in the
Errors/Warnings pane.

To navigate to the Duplicate Code pane: Ruby->Errors/Warnings->Duplicate
Code.  Or just search for Duplicate Code in the Preferences.

This seems like a useful feature once the kinks have been worked out,
but I found it pretty annoying as well.

Gabe
This topic is locked and can not be replied to.