Comments on: Custom Scaffold for Rails http://www.tonyspencer.com/2007/03/01/custom-scaffolding-for-rails/ It's Just Links Wed, 14 Sep 2011 13:47:04 +0000 http://wordpress.org/?v=2.9.1 hourly 1 By: Anthony Ettinger http://www.tonyspencer.com/2007/03/01/custom-scaffolding-for-rails/comment-page-1/#comment-93279 Anthony Ettinger Wed, 09 Jul 2008 21:07:10 +0000 http://www.tonyspencer.com/2007/03/01/custom-scaffolding-for-rails/#comment-93279 how did you go about creating the custom generator? Can we just create a copy of the ./generators directory and put it somewhere else to modify at will? how did you go about creating the custom generator?

Can we just create a copy of the ./generators directory and put it somewhere else to modify at will?

]]>
By: TonyD http://www.tonyspencer.com/2007/03/01/custom-scaffolding-for-rails/comment-page-1/#comment-45311 TonyD Sun, 23 Dec 2007 19:39:01 +0000 http://www.tonyspencer.com/2007/03/01/custom-scaffolding-for-rails/#comment-45311 Don't really have a comment about the plugin. Maybe it will give me a means to accomplsh my goal. I'm a noob to Rails and am soaking up as much as I can about all that it and it's third party gems & plugins can do for me. Still learning the the whole views, partials, etc thing. But still don't have a clue of what I am doing. Not even sure how to state my question. I'm working with active_scaffold. Perhaps a crutch. I love the fact that it gives me a fairly customizable view. I love being able to click on a column head for sort. And I link the spinner. But I want to control what it displays (the model i've scaffolded). Can't figure it out. I want to simply filter out records that don't meet my criteria with a button click and re-include them with a click of the same button. Right now I would be happy with a forced filter. Can't get any responses from railsform or groups.google.active_scaffold forums. Again, as I said i'm a noob and perhaps I'm looking at this all wrong. I ran across this blog and found it interesting. I'm a Delphi/VB programmer and know how I would handle displaying a table and how to control it. Any feedback for this "deer in the headlights" would be welcome. Thanks again! TonyD Don’t really have a comment about the plugin. Maybe it will give me a means to accomplsh my goal. I’m a noob to Rails and am soaking up as much as I can about all that it and it’s third party gems & plugins can do for me. Still learning the the whole views, partials, etc thing. But still don’t have a clue of what I am doing. Not even sure how to state my question. I’m working with active_scaffold. Perhaps a crutch. I love the fact that it gives me a fairly customizable view. I love being able to click on a column head for sort. And I link the spinner. But I want to control what it displays (the model i’ve scaffolded). Can’t figure it out. I want to simply filter out records that don’t meet my criteria with a button click and re-include them with a click of the same button. Right now I would be happy with a forced filter. Can’t get any responses from railsform or groups.google.active_scaffold forums. Again, as I said i’m a noob and perhaps I’m looking at this all wrong. I ran across this blog and found it interesting. I’m a Delphi/VB programmer and know how I would handle displaying a table and how to control it. Any feedback for this “deer in the headlights” would be welcome. Thanks again!

TonyD

]]>
By: OsamaBinLogin http://www.tonyspencer.com/2007/03/01/custom-scaffolding-for-rails/comment-page-1/#comment-44373 OsamaBinLogin Mon, 17 Dec 2007 05:24:33 +0000 http://www.tonyspencer.com/2007/03/01/custom-scaffolding-for-rails/#comment-44373 yeah, I'm getting a lot of stuff not working as per docs. I'm using Rails 2.01 and staggering through oreilly's Ruby on Rails Up and Running. rake migrate ==> rake db:migrate .rhtml ==> .html.erb scaffold :modname doesn't work... yeah, I’m getting a lot of stuff not working as per docs. I’m using Rails 2.01 and staggering through oreilly’s Ruby on Rails Up and Running.

rake migrate ==> rake db:migrate
.rhtml ==> .html.erb
scaffold :modname doesn’t work…

]]>
By: John http://www.tonyspencer.com/2007/03/01/custom-scaffolding-for-rails/comment-page-1/#comment-43438 John Mon, 10 Dec 2007 08:41:45 +0000 http://www.tonyspencer.com/2007/03/01/custom-scaffolding-for-rails/#comment-43438 I get this message: undefined local variable or method `unscaffolded_actions' for # when I run custom_scaffold. Do I need to install anything else or is it not compatible with rails 1.99.1 I get this message:

undefined local variable or method `unscaffolded_actions’ for #

when I run custom_scaffold.

Do I need to install anything else or is it not compatible with rails 1.99.1

]]>
By: naisioxerloro http://www.tonyspencer.com/2007/03/01/custom-scaffolding-for-rails/comment-page-1/#comment-41966 naisioxerloro Thu, 29 Nov 2007 02:26:38 +0000 http://www.tonyspencer.com/2007/03/01/custom-scaffolding-for-rails/#comment-41966 Hi. Good design, who make it? Hi.
Good design, who make it?

]]>
By: Brian McQuay http://www.tonyspencer.com/2007/03/01/custom-scaffolding-for-rails/comment-page-1/#comment-25804 Brian McQuay Thu, 09 Aug 2007 00:50:34 +0000 http://www.tonyspencer.com/2007/03/01/custom-scaffolding-for-rails/#comment-25804 Nice work. You might also be interested in http://www.streamlinedframework.org/ and http://activescaffold.com/ for other scaffolding type tweaks. I haven't actually tried either yet but its on my todo list. Nice work. You might also be interested in http://www.streamlinedframework.org/ and http://activescaffold.com/ for other scaffolding type tweaks. I haven’t actually tried either yet but its on my todo list.

]]>
By: cmo-0 http://www.tonyspencer.com/2007/03/01/custom-scaffolding-for-rails/comment-page-1/#comment-25241 cmo-0 Thu, 26 Jul 2007 06:36:37 +0000 http://www.tonyspencer.com/2007/03/01/custom-scaffolding-for-rails/#comment-25241 it seems the tags had been skipped. i meant in the previous post >> i’d suggest wrapping table header row with 'th' rather than 'td' as per the standard. it seems the tags had been skipped. i meant in the previous post
>>
i’d suggest wrapping table header row with ‘th’ rather than ‘td’ as per the standard.

]]>
By: cmo-0 http://www.tonyspencer.com/2007/03/01/custom-scaffolding-for-rails/comment-page-1/#comment-25240 cmo-0 Thu, 26 Jul 2007 06:33:38 +0000 http://www.tonyspencer.com/2007/03/01/custom-scaffolding-for-rails/#comment-25240 nice plugin, i'd suggest wrapping table header row with rather than as per the standard. keep the hard work! nice plugin,

i’d suggest wrapping table header row with rather than as per the standard.
keep the hard work!

]]>
By: eradani http://www.tonyspencer.com/2007/03/01/custom-scaffolding-for-rails/comment-page-1/#comment-23650 eradani Sun, 15 Jul 2007 01:50:19 +0000 http://www.tonyspencer.com/2007/03/01/custom-scaffolding-for-rails/#comment-23650 Uhhh... vertical align in TDs does very much exist in CSS. It's vertical-align. For reference... http://www.w3schools.com/htmldom/prop_style_verticalalign.asp I personally prefer tables as I feel there's a lot more control and much less jimmy-rigging between browsers that can get to be a real headache. But that's me. For data display, they can't be beat Uhhh… vertical align in TDs does very much exist in CSS. It’s vertical-align. For reference…

http://www.w3schools.com/htmldom/prop_style_verticalalign.asp

I personally prefer tables as I feel there’s a lot more control and much less jimmy-rigging between browsers that can get to be a real headache. But that’s me. For data display, they can’t be beat

]]>
By: omnix http://www.tonyspencer.com/2007/03/01/custom-scaffolding-for-rails/comment-page-1/#comment-8232 omnix Sat, 07 Apr 2007 05:26:24 +0000 http://www.tonyspencer.com/2007/03/01/custom-scaffolding-for-rails/#comment-8232 Could you update this by replacing start_form_tag with the newer form_tag do block? start_form_tag / end_form_tag are deprecated in Rails 2.0. Thanks. Love the custom scaffold generator. Could you update this by replacing start_form_tag with the newer form_tag do block? start_form_tag / end_form_tag are deprecated in Rails 2.0. Thanks. Love the custom scaffold generator.

]]>