From Aptana Development
Installation
- Install the plugin into Aptana standalone using the Aptana Start page.
- Install the plugin into Aptana standalone using the plugin manager inside Aptana.
- Install the plugin into Eclipse 3.2 using the update site
- Install the plugin into Eclipse 3.3 using the update site
Rails Project Creation
- Right-click in Rails Navigator and choose New > Rails project.
- Generate a project named "test" with default settings
- Confirm that project is created, and console creates linked list of files generated
Ruby Editor
- Choose the C+ "New Ruby Class" wizard icon from toolbar. (Must be in Ruby perspective)
- Generate class named "Test".
- Verify test.rb is created and opened in Ruby Editor; and that Test class stub is generated.
Open Type Dialog / Code Resolution
- Hit Ctrl+Shift+T to open the Open Type dialog
- Enter "SE" and confirm that CamelCase results like "StandardError" are shown.
- Enter "ModuleDef", select it in the list and confirm that the full name shown is "ModuleDef - XSD::CodeGen"
- Double click the listing and confirm that the source file is opened in a Ruby editor and the class definition for ModuleDef is highlighted.
- Highlight "GenSupport" on the next line, hit F3 and confirm that an editor is opened on the module GenSupport.
RHTML Editor
- Open generated .rhtml file and verify that it is colored properly.
YML Editor
- Open generated database.yml file and verify that it is colored properly.
- Type a YAML document with the following text and assure that it's created properly
radrails:
yml: "<%="#{looks(GOOD)[0].to_go}"%>"
Rubygems View
- Open the Rubygems view, verify that after startup it is populated with entries for locally installed gems
- Click the green plus "Install" icon and ensure there is a large listing of remote gems
- Enter "p" in the field and ensure that it narrows the listing to gems whose names begin with "p". Pay special attention that the filtering is quick and not jumpy!
- Enter "mongrel" in the field
- Select the "mongrel" gem, and install the latest version (1.0.1)
- Repeat the above steps to install the latest "ruby-debug-ide" gem
- Repeat the above steps to install the "progressbar" gem
- Select the installed "progressbar" gem from the table listing, and click the red minus "remove" icon to uninstall it
- Install an older version of a gem
- Select the gem from the local install list and click the "Upgrade" gems icon, verify that both new and old show up in local listing afterwards
- Install another old version of a different gem
- Click the "upgrade all" icon in the Gems View, make sure all old gems are upgraded
Rails Servers
- Switch to the Servers view
- Click the "Add" (server with a plus) icon to add a new Webrick server to the generated project.
- Select the added server, click the green arrow "Start" icon to launch the server
- Open a browser for the launched server by clicking the world "Launch Server" icon in the Servers view
- Stop the server by selecting the launched server in the list and clicking the red block "Stop" icon
- Select the server in teh list, and click the page "Edit" icon to edit the server.
- Change the server type to Mongrel
- Open a browser for the server via the world icon (while it is not launched), verify RadRails asks if you'd like server started
- Select the server from the list and click the red X "Remove" icon to delete the server, verify it stops and then removes the server
Ruby Debugger
- Create a new file with a simple "puts 'hello' line"
- Double-click the left hand ruler on that line to set a breakpoint
- Right click the ruby file and choose "Debug as Ruby Application"
- Verify that debugger stops at the breakpoint
- Add additional puts statements and verify step over, step into
- Open Display view and enter arbitrary code to be evaluated
- Evaluate code using button in Display view
- Remove breakpoint and re-launch, verify that debugger doesn't stop