[Rails] Using the symbol '-' in route will cause error

2011-03-11 Thread jaron
I want to route a URL like "http://localhost:3000/admin/product- details".I defined the route mapping in routes.rb: map.namespace :admin do |admin| # Directs /admin/products/* to Admin::ProductsController (app/ controllers/admin/products_controller.rb) admin.product_details '/product-detai

[Rails] Re: How to install rails_tiny_mce in Rails2.3.10

2011-03-11 Thread jaron
It's right.I install the plugin using follow command: ./script/plugin install git://github.com/sandipransing/rails_tiny_mce.git -r rails_2.x ./script/generate rails_tiny_mce_migration rake db:migrate ./script/plugin install git://github.com/aaronchi/jrails.git rake rails_tiny_mce:plugins rake rails

[Rails] Re: How to install rails_tiny_mce in Rails2.3.10

2011-03-10 Thread jaron
The follow install command run failed: ./script/plugin install --branch rails_2.x git://github.com/sandipransing/rails_tiny_mce.git Plugin not found: ["rails_2.x", "git://github.com/sandipransing/ rails_tiny_mce.git"] I try to download the plugin for rails 2.x in the page https://github.com/sandi

[Rails] Re: How to install rails_tiny_mce in Rails2.3.10

2011-03-10 Thread jaron
/rubygems/custom_require.rb:31:in `require' from /Library/Ruby/Gems/1.8/gems/rails-2.3.10/lib/commands/ generate.rb:1 from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `r

[Rails] How to install rails_tiny_mce in Rails2.3.10

2011-03-09 Thread jaron
I have tried followed the guide in https://github.com/sandipransing/rails_tiny_mce/tree/rails_2.x,but failed.I suggest the newest plugin in git://github.com/sandipransing/rails_tiny_mce.git only support Rails3.0.How to install in Rails2.3.10? -- You received this message because you are subscri