I hope someone can help with some RadRails guidance…
( on WIndows XP )
I’ve been using UltraEdit and it’s Project management is good, but I
feel RadRails should be better with the inbuild Ruby and RoR
features…
I’ve tried working through the tutorials on the web site for example
the CookBook tutorial & it tells me to go the Generators Pane, which I
find, but then it tells me to select an open project in the Rails
Navigator, so I go there, but don’t know what to do. I have the
project open that I am working with - so I’m just pulling my hair out
going round and round in circles - it can’t be this hard !!!
Anyone using RadRails and can help I would very much appreciate it !
in order to use the generators, you need to have the project open and
selected, or a file or directory in the project selected. then go to
the generator pane, select what generator you want to use (controller,
model, etc), enter a name, and click ‘go’ button.
Thanks for your help guys, but I just can’t get past the generator tab-
page telling me to select an open rails project…
The project exists, I have files open from the project, the server is
running, but that’s it !!!
I can see the two projects that exist both in the Rails Navigator, but
which one is ‘Selected’ ? I can’t see anything in the menus or
navigators that tells me what project is ‘Open’ at any one time, they
all seem to just be visible.
Just played around some more and it must be something to do with the
way I’m creating projects. I go through the project wizard and all
seems OK.
Then I create the webrick server for that project, but when I click
browse, nothing happens. So I put in the name of the project and it
seems OK. But I’m guesing that is not right ??? I also seem to only
be allowed one server to be configured. When I create a second one
the previous one dispears. I’m guessing I don’t have to create a new
server everytime I switch projects ?
Hi Miguel, That is now apparent to me, but how do you ‘select’ a
project.
I right click on the project name, no ‘select’ option ( but there is a
‘close project’ option )
If I try double clicking the name, that just opens and closes the tree
for that project.
I know I’m going to be kicking myself when I get this, but is just not
obvious !
i just click once on anything in that project (highlighted in gray)
and the console works for me for that project. I can have a layout
select in the project and the console works.
Forgot to mention, when I browse within RadRails, It works OK & see
the correct results that I expect…
So the server must be configured and working correctly…
Dave
Forgot to mention, when I browse within RadRails, It works OK & see
the correct results that I expect…
So the server must be configured and working correctly…
Dave
All you have to do is select a file in the project and then goto the
generator pane and choose what to generate, put in a name, and click
‘Go’. They say select a project because people have different projects
open and clicking on a file under a project ‘activates’ that project.
So, let’s say we have to projects in the tree:
Project1
-Folder1
–File1
Project2
-Folder2
–File2
Clicking on ‘File1’ and then going to the generator pane and generating
a file generates that file for THAT project. Clicking on ‘File2’ and
going to the generator pane and generating a file generates it for
Project2.
I don’t use instant rails, but one thing I did notice is that it won’t
let me enter just ‘rake’ in the second setting, it only allows
rake.bat, else it complains about the entry
Also I don’t have a mongrel_rails file in my bin folder ? Is that
necessary ?
I know i’m not much help but when I first added radrails I had trouble
with the console. I think then I upgraded my instant rails and it
seems to work now.
I used the command line alot.
I guess instant rails is now using mongrel
i’m not sure about webrick as a server. sorry
I’ll have to give this away and go back to UltraEdit for now as I’ve
wasted way too much time on this - plus with all my mucking around
I’ve broken my Apache server, so I can’t run phpMyAdmin anymore !@#$%
I don’t use instant rails, but one thing I did notice is that it won’t
let me enter just ‘rake’ in the second setting, it only allows
rake.bat, else it complains about the entry
The one-click installer has subsumed the “rake” file into its own
“rake.bat”.
The next release will include both files (Instant Rails already does
this).
If you use Instant Rails and install RadRails in the Instant Rails base
directory, then RadRails will automatically be configured with all the
proper paths.
Also I don’t have a mongrel_rails file in my bin folder ? Is that
necessary ?
If you want to develop with the Mongrel web server (instead of the
WEBrick
server), then you have to install Mongrel (in a console window, run the
command: “gem install mongrel”). These days Mongrel has become the
preferred
server for Rails.
from that image, it doesn’t look like your project is a rails project
specifically because there is no “rails” symbol on the project folder
in the navigator.
see attached image for what i am talking about.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.