Description: Generating list,edit,save and show partials for tasks from TrstSysTask table, based on 'exe_id' value. Convention: base_path /app/views/trst_sys (change with --controller_path) partial_path base_path/xxx/yyy/zzz/_*.html.erb with "./script/generate task_partial xxx_yyy_zzz" or partial_path base_path/xxx/yyy/_zzz.html.erb with "./script/generate task_partial xxx_yyy_zzz --single" Example: "./script/generate task_partial db_sys_menu" => /app/views/trst_sys/db/sys/menu/_list.html.erb, _edit.html.rb .... "./script/generate task_partial db_sys_menu --single" => /app/views/trst_sys/db/sys/_menu.html.erb "./script/generate task_partial db_sys_menu --single --controller_path "other_path"" => /app/views/other_path/db/sys/_menu.html.erb
That's what I need. But as I mentioned above using --controller_path always returns logical true /app/views/...true.../db/sys/_menu.html.erb Arghhh -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---