Forum: Ruby on Rails Global find and replace in RADRAILS. Can you do it?

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.
Cd8c9864d88bcafc164d8fdb820cc451?d=identicon&s=25 Chris Richards (chris)
on 2006-04-28 11:03
It seems as though it cannot be done.  Does anyone know how to do it?

Thanks
Chris
C45e8b0eac09ee52dd88142e99b1094b?d=identicon&s=25 Arunkumar Balu (arun)
on 2006-04-28 11:15
(Received via mailing list)
go to "edit" .there you can find the option to find and replace...(note:
i
am talking about  Radrails v-0.6.2)
Cd8c9864d88bcafc164d8fdb820cc451?d=identicon&s=25 Chris Richards (chris)
on 2006-04-28 11:34
Yeah but its not a global find and replace.  It will only find and
replace on the current open document.

Chris
C45e8b0eac09ee52dd88142e99b1094b?d=identicon&s=25 Arunkumar Balu (arun)
on 2006-04-28 11:52
(Received via mailing list)
sorry there is no option for global find and replace in radrails..its
only
available in sw like dreamweaver
Cd8c9864d88bcafc164d8fdb820cc451?d=identicon&s=25 Chris Richards (chris)
on 2006-04-28 11:54
That needs changing.  In Java Eclipse you can refactor easily with the
refactoring tools.  How are we supposed to easily refactor ruby without
a global find and replace?

The rad-rails team are decent so hopefully they will resolve this.
29c5380dd7c19eebebf03bc050c7e27d?d=identicon&s=25 Geoff Hopson (Guest)
on 2006-04-28 12:01
(Received via mailing list)
Can you not go to the Search menu item, bring up the search window, and
instead of doing a search, do a replace? That brings up a list of files
where the search text is found, and you can then choose to replace,
replace
all and so on?

HTH,
Geoff
50b0c7ff7b5436d6585e8384045cc04a?d=identicon&s=25 Stefan Liden (Guest)
on 2006-04-28 12:02
Chris Richards wrote:
> It seems as though it cannot be done.  Does anyone know how to do it?
>
> Thanks
> Chris


Don't have RadRails in front of me now but I would like to remember that
if you choose search there is a button at the bottom that says
"Replace...". I used it to make changes throughout my project (you can
also do it to all your projects if you wish). Hopefully I remember
right.
50b0c7ff7b5436d6585e8384045cc04a?d=identicon&s=25 Stefan Liden (Guest)
on 2006-04-28 12:03
Geoff Hopson wrote:
> Can you not go to the Search menu item, bring up the search window, and
> instead of doing a search, do a replace? That brings up a list of files
> where the search text is found, and you can then choose to replace,
> replace
> all and so on?
>
> HTH,
> Geoff

Man, too slow as usual! But that means I did remember it right...
comforting. :)
C45e8b0eac09ee52dd88142e99b1094b?d=identicon&s=25 Arunkumar Balu (arun)
on 2006-04-28 12:13
(Received via mailing list)
thanks geoff...
C45e8b0eac09ee52dd88142e99b1094b?d=identicon&s=25 Arunkumar Balu (arun)
on 2006-04-28 12:25
(Received via mailing list)
hi geoff,
is there any option in radrails to run a test for a particular test.rb
file?
(actually it runs all the (for unit test) test.rb files when i click the
unit test button)

plz clear my doubt...

regards,
Arun
This topic is locked and can not be replied to.