Sooorry for slow response, was busy otherwise. We all were right of course, you, that it really SHOULD work, and I was right in suspecting a silly error.
Thanks loads, this topic is solved for me :-) Michael On 10 Feb., 17:10, Kenneth Ortmann <[email protected]> wrote: > Are you sure that doesn't work for you? double check and make sure you typed > everything correctly(I'm not trying to be an ass, it should be working). > > I've used this in the past and config.columns[:column].options = {:time => > false} is correct. > > If you can't get it to work in your project you can always create a new > project make a model with one column and try to render the page with > calendar date select and time => false. If you do create a sample project > and it still doesnt work you should upload it to github or somewhere so > someone can take a look at it. > > ~Kenny > > > > On Wed, Feb 10, 2010 at 4:21 AM, Atastor <[email protected]> wrote: > > To answer the obvious question first: No, Youichiro is no alias of > > mine, but good to see, others are having the probs, too ;-) > > > Alas this doesnt work for me...*THINK* > > > Thanks nevertheless > > Michael > > > On 10 Feb., 10:30, "EBIHARA, Yuichiro" <[email protected]> wrote: > > > Hi, > > > > I'm also using rails 2.3.5 and calendar_date_select 1.15. > > > > > config.columns[:enddate].form_ui = :calendar_date_select > > > > config.columns[:enddate].options = {:time => false} > > > > This way, the time part disappears as expected. > > > > Thanks, > > > > ebi > > > > 2010/2/10 Sergio Cambra .:: entreCables S.L. ::. <[email protected] > > >: > > > > > On Miércoles, 10 de Febrero de 2010 09:46:45 Atastor escribió: > > > >> Obviously not this way: > > > > >> config.columns[:enddate].form_ui = :calendar_date_select, { :time => > > > >> false } > > > > >> als the effect is not the intended, time still shows up. I guess its a > > > >> silly error, but in case its not: I m using latest active_scaffold, > > > >> calendar_date_select gem 1.15 und rails 2.3.5. > > > > > I don't use that plugin, and I haven't checked the code, but probably > > you have > > > > to set options for calendar_date_select using options: > > > > config.columns[:enddate].form_ui = :calendar_date_select > > > > config.columns[:enddate].options = {:time => false} > > > > > I don't know if it's needed to set the form_ui, I think the bridge > > should set > > > > for all date and datetime columns. And probably if your column is a > > date > > > > column instead of datetime you won't get time. > > > > > -- > > > > Sergio Cambra .:: entreCables S.L. ::. > > > > Mariana Pineda 23, 50.018 Zaragoza > > > > T) 902 021 404 F) 976 52 98 07 E) [email protected] > > > > > -- > > > > You received this message because you are subscribed to the Google > > Groups "ActiveScaffold : Ruby on Rails plugin" group. > > > > To post to this group, send email to [email protected]. > > > > To unsubscribe from this group, send email to > > [email protected]<activescaffold%2bunsubscr...@go > > oglegroups.com> > > . > > > > For more options, visit this group athttp:// > > groups.google.com/group/activescaffold?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups > > "ActiveScaffold : Ruby on Rails plugin" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<activescaffold%2bunsubscr...@go > > oglegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/activescaffold?hl=en. -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en.
