scrope (6) [Avatar] Offline
#1
I've been following along with the book and realized I made a mistake in creating the Login component (forgot the label). So I added the label and cleaned and rebuilt the project and now I'm getting 23 errors in the ventor plugin folder as shown below.

Any ideas?

Abe





Severity and Description Path Resource Location Creation Time Id
, unexpected '='
pomodo/vendor/plugins/restful_authentication/generators/authenticated/templates activation.html.erb line 0 1212006175059 244
, unexpected '='
pomodo/vendor/plugins/restful_authentication/generators/authenticated/templates login.html.erb line 2 1212006175059 237
, unexpected '='
pomodo/vendor/plugins/restful_authentication/generators/authenticated/templates signup.html.erb line 0 1212006175059 227
, unexpected '='
pomodo/vendor/plugins/restful_authentication/generators/authenticated/templates signup_notification.html.erb line 2 1212006175059 226
, unexpected tIDENTIFIER
pomodo/vendor/plugins/restful_authentication/generators/authenticated/templates authenticated_system.rb line 8 1212006175059 243
, unexpected tIDENTIFIER
pomodo/vendor/plugins/restful_authentication/generators/authenticated/templates functional_spec.rb line 7 1212006175059 240
, unexpected tIDENTIFIER
pomodo/vendor/plugins/restful_authentication/generators/authenticated/templates model_functional_spec.rb line 7 1212006175059 231
, unexpected tIDENTIFIER
pomodo/vendor/plugins/restful_authentication/generators/authenticated/templates unit_spec.rb line 7 1212006175059 225
, unexpected tLT
pomodo/vendor/plugins/restful_authentication/generators/authenticated/templates authenticated_test_helper.rb line 2 1212006175059 242
, unexpected tLT
pomodo/vendor/plugins/restful_authentication/generators/authenticated/templates controller.rb line 1 1212006175059 241
, unexpected tLT
pomodo/vendor/plugins/restful_authentication/generators/authenticated/templates functional_test.rb line 4 1212006175059 239
, unexpected tLT
pomodo/vendor/plugins/restful_authentication/generators/authenticated/templates helper.rb line 0 1212006175059 238
, unexpected tLT
pomodo/vendor/plugins/restful_authentication/generators/authenticated/templates mailer.rb line 0 1212006175059 236
, unexpected tLT
pomodo/vendor/plugins/restful_authentication/generators/authenticated/templates mailer_test.rb line 3 1212006175059 235
, unexpected tLT
pomodo/vendor/plugins/restful_authentication/generators/authenticated/templates migration.rb line 0 1212006175059 234
, unexpected tLT
pomodo/vendor/plugins/restful_authentication/generators/authenticated/templates model.rb line 1 1212006175059 233
, unexpected tLT
pomodo/vendor/plugins/restful_authentication/generators/authenticated/templates model_controller.rb line 0 1212006175059 232
, unexpected tLT
pomodo/vendor/plugins/restful_authentication/generators/authenticated/templates model_functional_test.rb line 4 1212006175059 230
, unexpected tLT
pomodo/vendor/plugins/restful_authentication/generators/authenticated/templates model_helper.rb line 0 1212006175059 229
, unexpected tLT
pomodo/vendor/plugins/restful_authentication/generators/authenticated/templates observer.rb line 0 1212006175059 228
, unexpected tLT
pomodo/vendor/plugins/restful_authentication/generators/authenticated/templates unit_test.rb line 2 1212006175059 224
, unexpected tSTRING_BEG
pomodo/app/views/sessions new.html.erb line 2 1212006175059 248
, unexpected tSYMBEG
pomodo/app/views/users new.html.erb line 3 1212006175059 247
Unused local variable load_error pomodo/config boot.rb line 62 1212006175059 246
nachbar (45) [Avatar] Offline
#2
Re: Unexpected = Errors In Iteration 3 (p. 79)
These are ruby errors; Flex Builder 3 apparently doesn't handle them very well.

In the "Problems" window (showing these errors), in the right upper corner, find the button to open the dialog to configure the filters for this view. Create a new user filter, turn off "Ruby Problems" in "Show items of type" for your filter, then close the dialog, and select your filter in the window menu (also in the upper right corner of the Problems window). That should hide all of these Ruby "errors".

Whether you hide them or not, your Flex program should still work unless there are non-ruby errors, which may be hard to find with all of the ruby "errors" in the window.

James Nachbar
http://www.plastic.org
peterarmstrong (94) [Avatar] Offline
#3
Re: Unexpected = Errors In Iteration 3 (p. 79)
Yeah, the bloody RDT plugin has gotten whinier and whinier over time. When I was writing the book it wasn't this bad. Right now I've just gone back to the plain text editor for Ruby files -- and if I want a better editor I make the file association open TextMate smilie

Of course, this sucks because of the context switch between Flex Builder and TextMate. So, there's no optimal solution right now. Most of us at Ruboss use TextMate for all Ruby editing. I actually do mostly Flex coding currently so the text editor is fine with me at the moment...