Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #10710 (closed defect: fixed)

Opened 8 months ago

Last modified 7 months ago

Rails generator is using WordNet 2.0 which is no longer available

Reported by: matt Assigned to: core
Priority: normal Milestone: 2.x
Component: Railties Version: edge
Severity: minor Keywords:
Cc:

Description

http://dev.rubyonrails.org/browser/trunk/railties/lib/rails_generator/commands.rb Line 384

The generator has a collision detection mechanism that suggests another class name when you are trying to generate a reserved class name.

The only problem is that WordNet 2.0 has been deprecated.

If you want to fix the problem, get a look at the find_synonyms method in commands.rb

Attachments

update_synonym_lookup_for_wordnet_3.diff (1.4 kB) - added by tom./ on 01/09/08 16:21:14.
Update for WordNet 3.0, returns synonyms

Change History

01/05/08 11:40:37 changed by blj

Wordnet 3.0 creates more complicated markup. Is it even worth having suggestions at all?

01/09/08 16:21:14 changed by tom./

  • attachment update_synonym_lookup_for_wordnet_3.diff added.

Update for WordNet 3.0, returns synonyms

01/09/08 22:11:23 changed by tom./

Wordnet 3.0 markup is actually parsed simply enough (all synonyms are surrounded by <a>/</a>). Patch deals with that!

01/10/08 02:50:46 changed by bitsweat

  • status changed from new to closed.
  • resolution set to fixed.

(In [8615]) Resurrect WordNet synonym lookups. Closes #10710.

01/10/08 02:52:09 changed by bitsweat

(In [8617]) Merge [8615] to stable: resurrect WordNet synonym lookups. References #10710.