search for: my_generator

Displaying 2 results from an estimated 2 matches for "my_generator".

2019 Aug 07
1
NextMethod() and argument laziness
Hi all, I'd like to ask if the following behavior is a bug. To me it certainly feels surprising, at the very least. In this example, I would like to call NextMethod() from my `child` object, have `cols` be left untouched, and then substitute(cols) in the parent method. It works when you use a `parent` object (as expected), but I would have also expected to get `mpg` back when calling it from
2006 Jul 18
2
Write a new generator
...ils-1.1.2\lib\rails_generatorand found that it reads gems specification to look for generator s present on the system. The way there are tutorials on how to create plugins for Rails, are there any for Generators? At the end of it I should be able to do something like this ruby script/generate <my_generator> arguments Appreciate help. Regards, Jatinder -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060718/bcdb9180/attachment.html