
[patch] rails-datamapper: dry up and add rails generators
Reported by kristian | July 13th, 2009 @ 07:50 AM
in past I copied a lot of generator for rails around and in dm-more/rails_datamapper I saw this again. so here is one possible solution to dry up generators. and then I just added two more generators.
the idea is to introduce overlay directories for searching template files. this allows reusing existing generators and tell them where to search for the templates files and be able to replace some template files with local versions.
the overlay directories can be also given as command line option which allows projects to keep some project specific templates around somewhere.
in case you like this patch I happy to write up the last missing generator for dm-scaffold which uses unit-test instead of rspec.
Comments and changes to this ticket
-
Dan Kubb (dkubb) July 22nd, 2009 @ 04:03 PM
- Assigned user set to tomjmalone (at gmail)
- State changed from new to unconfirmed
-
Dan Kubb (dkubb) October 4th, 2009 @ 09:33 PM
- Milestone changed from 0.10.0 to 0.10.2
[project:id#20609 not-tagged:"0.10.0" milestone:id#51895 bulk edit command]
-
Dan Kubb (dkubb) February 1st, 2010 @ 04:33 PM
- Milestone changed from 0.10.2 to 1.0.0
-
Dan Kubb (dkubb) May 23rd, 2010 @ 09:16 PM
- Assigned user changed from tomjmalone (at gmail) to Martin Gamsjaeger (snusnu)
-
Dan Kubb (dkubb) May 26th, 2010 @ 01:56 AM
- Milestone cleared.
-
Martin Gamsjaeger (snusnu) October 24th, 2010 @ 07:32 AM
- State changed from unconfirmed to hold
- Assigned user cleared.
- Milestone order changed from 0 to 0
Since I've got no experience using DM with rails-2.x and rails_datamapper, I'm unassigning myself from that ticket and put it on hold for now. If someone else still wants to take a stab, that's fine of course.
-
Piotr Solnica (solnic) May 17th, 2011 @ 02:24 AM
- Tag changed from dm-more, rails, rails_datamapper to rails, rails_datamapper
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »