Hi all,
I''m trying to create a generator. As there are quite a few files in my
generator i decided it would be a good idea to make some
subdirectories in the template directory. But now i can''t seem to copy
the files from these subdirectories with the file method. For example:
record do |m|
m.file
File.join(''controllers'',''abc_controller.rb''),
File.join(''app'',''controllers'',''abc_controller.rb'')
....
gives a "No such file or directory ..../templates/controllers/
abc_controller.rb"
Any ideas?
Greetings,
Peter
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---