In such particular case you could use git branch or something like that? //D
вторник, 1 мая 2012 г., 22:20:57 UTC+3 пользователь Joe Le Brech написал: > > When you use rails g scaffold blah blah it will always produce non-final > code, so why not have a scaffolds folder with as many dummy code examples > as possible which can then be transplanted into the actual production code. > > For example nested forms or select box code or whatever might be specific > to a custom generator (mobile or whatever) > > This could be very much like "snippets", a scaffold could then make many > more assumptions and potentially create non-working code, > like assuming that something_id is something that can be used in a > selection box and that "name" is the value of an option. > > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/CDYawmpye0AJ. 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.