About DateBocks ----- DateBocks is a pure JavaScript library using DHTML and advanced date parsing to generate the date based on the grammar passed. The purpose of DateBocks is to simplify the date entering process using common terms we are all familiar with. http://datebocks.inimit.com ------ This version fixes a number of bugs which arose due to the incredible support on various mailing lists. I had tested it in a few browsers, but with the extensive depth of variations in browsers/os''s, I recieved extensive feedback which is why this release has been announced so soon after the last major upgrade. My apologies for not doing sufficient testing on the previous version. Will be sure not to let it happen again :) This time around I have tested it in the following configurations: - Windows XP Firefox 1.0 - Windows XP Firefox 1.5 - Windows XP Opera 9.1 - Windows XP IE6 - Mac OSX 10.4 FireFox 1.5 - Mac OSX 10.4 Safari 2.0.3 If you find that your configuration doesn''t work, please submit a ticket to http://dev.toolbocks.com with the error message and the versions of your browser and operating system. -- Kind regards, Nathaniel Brown Inimit Innovations Inc. http://inimit.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Nathaniel, DateBocks works really well. I did find one deficiency however - I typed "year of the pig" and instead of populating the correct year it says something silly like ''invalid date string'' :) jokes aside, it''s a great control. Any plans for a TimeBocks? Cheers Hammed On 8/21/06, Nathaniel Brown <nshb-wgYSSEAWXinQT0dZR+AlfA@public.gmane.org> wrote:> > > About DateBocks > ----- > > DateBocks is a pure JavaScript library using DHTML and advanced date > parsing to > generate the date based on the grammar passed. The purpose of DateBocks is > to > simplify the date entering process using common terms we are all familiar > with. > > http://datebocks.inimit.com > > ------ > > This version fixes a number of bugs which arose due to the incredible > support on various mailing lists. I had tested it in a few browsers, > but with the extensive depth of variations in browsers/os''s, I > recieved extensive feedback which is why this release has been > announced so soon after the last major upgrade. My apologies for not > doing sufficient testing on the previous version. Will be sure not to > let it happen again :) > > This time around I have tested it in the following configurations: > > - Windows XP Firefox 1.0 > - Windows XP Firefox 1.5 > - Windows XP Opera 9.1 > - Windows XP IE6 > - Mac OSX 10.4 FireFox 1.5 > - Mac OSX 10.4 Safari 2.0.3 > > If you find that your configuration doesn''t work, please submit a > ticket to http://dev.toolbocks.com with the error message and the > versions of your browser and operating system. > > -- > Kind regards, > > Nathaniel Brown > > Inimit Innovations Inc. > http://inimit.com > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Hey Hammed, Didn''t consider that match before :) TimeBocks is on it''s way, along with a combined DateTimeBocks. -NSHB On 8/23/06, Hammed Malik <hammed-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Nathaniel, > > DateBocks works really well. I did find one deficiency however - I typed > "year of the pig" and instead of populating the correct year it says > something silly like ''invalid date string'' :) > > jokes aside, it''s a great control. Any plans for a TimeBocks? > > Cheers > > > Hammed > > > > On 8/21/06, Nathaniel Brown <nshb-wgYSSEAWXinQT0dZR+AlfA@public.gmane.org> wrote: > > > > About DateBocks > > ----- > > > > DateBocks is a pure JavaScript library using DHTML and advanced date > parsing to > > generate the date based on the grammar passed. The purpose of DateBocks is > to > > simplify the date entering process using common terms we are all familiar > with. > > > > http://datebocks.inimit.com > > > > ------ > > > > This version fixes a number of bugs which arose due to the incredible > > support on various mailing lists. I had tested it in a few browsers, > > but with the extensive depth of variations in browsers/os''s, I > > recieved extensive feedback which is why this release has been > > announced so soon after the last major upgrade. My apologies for not > > doing sufficient testing on the previous version. Will be sure not to > > let it happen again :) > > > > This time around I have tested it in the following configurations: > > > > - Windows XP Firefox 1.0 > > - Windows XP Firefox 1.5 > > - Windows XP Opera 9.1 > > - Windows XP IE6 > > - Mac OSX 10.4 FireFox 1.5 > > - Mac OSX 10.4 Safari 2.0.3 > > > > If you find that your configuration doesn''t work, please submit a > > ticket to http://dev.toolbocks.com with the error message and the > > versions of your browser and operating system. > > > > -- > > Kind regards, > > > > Nathaniel Brown > > > > Inimit Innovations Inc. > > http://inimit.com > > > > > > > > > > > > > >-- Kind regards, Nathaniel Brown Inimit Innovations Inc. http://inimit.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
This is great and just what I''ve been looking for and just in time. Thanks Nathaniel. -----Original Message----- From: rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org [mailto:rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org] On Behalf Of Nathaniel Brown Sent: Monday, August 21, 2006 2:09 PM To: Ruby on Rails List; ruby-talk ML; discuss-dktOVO25QuxBDgjK7y7TUQ@public.gmane.org Subject: [Rails] [ANN] DateBocks 2.0.1 - Bugfix Edition About DateBocks ----- DateBocks is a pure JavaScript library using DHTML and advanced date parsing to generate the date based on the grammar passed. The purpose of DateBocks is to simplify the date entering process using common terms we are all familiar with. http://datebocks.inimit.com ------ This version fixes a number of bugs which arose due to the incredible support on various mailing lists. I had tested it in a few browsers, but with the extensive depth of variations in browsers/os''s, I recieved extensive feedback which is why this release has been announced so soon after the last major upgrade. My apologies for not doing sufficient testing on the previous version. Will be sure not to let it happen again :) This time around I have tested it in the following configurations: - Windows XP Firefox 1.0 - Windows XP Firefox 1.5 - Windows XP Opera 9.1 - Windows XP IE6 - Mac OSX 10.4 FireFox 1.5 - Mac OSX 10.4 Safari 2.0.3 If you find that your configuration doesn''t work, please submit a ticket to http://dev.toolbocks.com with the error message and the versions of your browser and operating system. -- Kind regards, Nathaniel Brown Inimit Innovations Inc. http://inimit.com This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify QPFL at administrator@qpfl.com.au, delete this e-mail from your system and note that the dissemination, distribution or coping of this e-mail is expressly forbidden. No employee or agent is authorised to conclude any binding agreement on behalf of QPFL with another party by email without express written confirmation by a director of QPFL. If you are considering acquiring a product offered by QPFL then you must note QPFL is not aware of your specific needs and objectives and that you should consider the appropriateness of any advice provided. You may not apply for a product unless you have first obtained and read the full relevant Product Disclosure Statement (PDS). To obtain a PDS please contact invest-WE50rThZ+gb5c4y/nN6+SQ@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Hi, i think it''s pretty cool, but one thing that I''d like to do that it doesn''t: "3 days ago" "2 weeks time" etc. Nathaniel Brown wrote:> About DateBocks > ----- > > DateBocks is a pure JavaScript library using DHTML and advanced date parsing to > generate the date based on the grammar passed. The purpose of DateBocks is to > simplify the date entering process using common terms we are all familiar with. > > http://datebocks.inimit.com > > ------ > > This version fixes a number of bugs which arose due to the incredible > support on various mailing lists. I had tested it in a few browsers, > but with the extensive depth of variations in browsers/os''s, I > recieved extensive feedback which is why this release has been > announced so soon after the last major upgrade. My apologies for not > doing sufficient testing on the previous version. Will be sure not to > let it happen again :) > > This time around I have tested it in the following configurations: > > - Windows XP Firefox 1.0 > - Windows XP Firefox 1.5 > - Windows XP Opera 9.1 > - Windows XP IE6 > - Mac OSX 10.4 FireFox 1.5 > - Mac OSX 10.4 Safari 2.0.3 > > If you find that your configuration doesn''t work, please submit a > ticket to http://dev.toolbocks.com with the error message and the > versions of your browser and operating system. > >-- *Jeremy Wells* Serval Systems Ltd. www.servalsystems.co.uk <http://www.servalsystems.co.uk> Tel: 01342 331940 Fax: 01342 331950 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Hey Jeremy, Just added two new feature request tickets based on your recommendations. http://dev.toolbocks.com/tickets/14 http://dev.toolbocks.com/tickets/15 Thanks for the feedback. -NSHB On 8/23/06, Jeremy Wells <jwells-cH1Rxhrj+4a/3pe1ocb+s/XRex20P6io@public.gmane.org> wrote:> > Hi, i think it''s pretty cool, but one thing that I''d like to do that it > doesn''t: "3 days ago" "2 weeks time" etc. > > > Nathaniel Brown wrote: > About DateBocks > ----- > > DateBocks is a pure JavaScript library using DHTML and advanced date parsing > to > generate the date based on the grammar passed. The purpose of DateBocks is > to > simplify the date entering process using common terms we are all familiar > with. > > http://datebocks.inimit.com > > ------ > > This version fixes a number of bugs which arose due to the incredible > support on various mailing lists. I had tested it in a few browsers, > but with the extensive depth of variations in browsers/os''s, I > recieved extensive feedback which is why this release has been > announced so soon after the last major upgrade. My apologies for not > doing sufficient testing on the previous version. Will be sure not to > let it happen again :) > > This time around I have tested it in the following configurations: > > - Windows XP Firefox 1.0 > - Windows XP Firefox 1.5 > - Windows XP Opera 9.1 > - Windows XP IE6 > - Mac OSX 10.4 FireFox 1.5 > - Mac OSX 10.4 Safari 2.0.3 > > If you find that your configuration doesn''t work, please submit a > ticket to http://dev.toolbocks.com with the error message and the > versions of your browser and operating system. > > > > > -- > > > Jeremy Wells > Serval Systems Ltd. > > www.servalsystems.co.uk > Tel: 01342 331940 > Fax: 01342 331950 > > > > > >-- Kind regards, Nathaniel Brown Inimit Innovations Inc. http://inimit.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
pvandenberk-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org
2006-Aug-24 13:39 UTC
[Rails] Re: DateBocks 2.0.1 - Bugfix Edition
Thanks for a great engine, Nathaniel! But I had 2 issues when trying to use it, one major and one minor issue... Minor issue: the documentation says...> Add "Engine.start :datebocks" to the end of ./config/environment.rb... but should read "Engines.start :datebocks" (ie. small type, should be "Engines" instead of "Engine") Major issue: the documentation also says...> Restart your webserver of choiceThat worked fine for WebRICK, but when I tried to deploy my application in Apache/CGI, I get the following error message, eventhough I added the required "includes" it both ApplicationController and the ApplicationHelper:> undefined method `datebocks_field'' for #<#<Class:0xb7848f6c>:0xb7848f44>Any ideas what might be going on? Weird that it works when I run my app from WebRICK, but throws an exception when I run it from Apache?!? Thanks very much in advance, Peter V. Nathaniel Brown wrote:> About DateBocks > ----- > > DateBocks is a pure JavaScript library using DHTML and advanced date parsing to > generate the date based on the grammar passed. The purpose of DateBocks is to > simplify the date entering process using common terms we are all familiar with. > > http://datebocks.inimit.com > > ------ > > This version fixes a number of bugs which arose due to the incredible > support on various mailing lists. I had tested it in a few browsers, > but with the extensive depth of variations in browsers/os''s, I > recieved extensive feedback which is why this release has been > announced so soon after the last major upgrade. My apologies for not > doing sufficient testing on the previous version. Will be sure not to > let it happen again :) > > This time around I have tested it in the following configurations: > > - Windows XP Firefox 1.0 > - Windows XP Firefox 1.5 > - Windows XP Opera 9.1 > - Windows XP IE6 > - Mac OSX 10.4 FireFox 1.5 > - Mac OSX 10.4 Safari 2.0.3 > > If you find that your configuration doesn''t work, please submit a > ticket to http://dev.toolbocks.com with the error message and the > versions of your browser and operating system. > > -- > Kind regards, > > Nathaniel Brown > > Inimit Innovations Inc. > http://inimit.com--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Hi Nathaniel: I''ve added tickets 16-18. I especially like 16 "once in a blue moon" Just adding common date expressions. Thanks for the plugin, -- Tom. On 8/23/06, Nathaniel Brown <nshb-wgYSSEAWXinQT0dZR+AlfA@public.gmane.org> wrote:> > Hey Jeremy, > > Just added two new feature request tickets based on your recommendations. > > http://dev.toolbocks.com/tickets/14 > http://dev.toolbocks.com/tickets/15 > > Thanks for the feedback. > > -NSHB > > > On 8/23/06, Jeremy Wells <jwells-cH1Rxhrj+4a/3pe1ocb+s/XRex20P6io@public.gmane.org> wrote: > > > > Hi, i think it''s pretty cool, but one thing that I''d like to do that it > > doesn''t: "3 days ago" "2 weeks time" etc. > > > > > > Nathaniel Brown wrote: > > About DateBocks > > ----- > > > > DateBocks is a pure JavaScript library using DHTML and advanced date parsing > > to > > generate the date based on the grammar passed. The purpose of DateBocks is > > to > > simplify the date entering process using common terms we are all familiar > > with. > > > > http://datebocks.inimit.com > > > > ------ > > > > This version fixes a number of bugs which arose due to the incredible > > support on various mailing lists. I had tested it in a few browsers, > > but with the extensive depth of variations in browsers/os''s, I > > recieved extensive feedback which is why this release has been > > announced so soon after the last major upgrade. My apologies for not > > doing sufficient testing on the previous version. Will be sure not to > > let it happen again :) > > > > This time around I have tested it in the following configurations: > > > > - Windows XP Firefox 1.0 > > - Windows XP Firefox 1.5 > > - Windows XP Opera 9.1 > > - Windows XP IE6 > > - Mac OSX 10.4 FireFox 1.5 > > - Mac OSX 10.4 Safari 2.0.3 > > > > If you find that your configuration doesn''t work, please submit a > > ticket to http://dev.toolbocks.com with the error message and the > > versions of your browser and operating system. > > > > > > > > > > -- > > > > > > Jeremy Wells > > Serval Systems Ltd. > > > > www.servalsystems.co.uk > > Tel: 01342 331940 > > Fax: 01342 331950 > > > > > > > > > > > > > > -- > Kind regards, > > Nathaniel Brown > > Inimit Innovations Inc. > http://inimit.com > > > >-- "Nothing will ever be attempted, if all possible objections must first be overcome." - Samuel Johnson "Luck is what happens when preparation meets opportunity." - Seneca --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Hey Peter, Added the bug for the "Engines.start :datebocks" http://dev.toolbocks.com/tickets/19 For the helper, my guess is you haven''t added the required line to your application_helper.rb file.. module ApplicationHelper include DatebocksEngine end There is a demo application I made which has DateBocks running which I use on http://datebocks.inimit.com at http://svn.toolbocks.com/demos/datebocks_engine/ With Apache, you likely have to restart the FCGI process you have running. For some reason you may need a stop/start. -NSHB On 8/24/06, pvandenberk-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org <pvandenberk-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> > Thanks for a great engine, Nathaniel! But I had 2 issues when trying > to use it, one major and one minor issue... > > Minor issue: the documentation says... > > > Add "Engine.start :datebocks" to the end of ./config/environment.rb > > ... but should read "Engines.start :datebocks" (ie. small type, should > be "Engines" instead of "Engine") > > Major issue: the documentation also says... > > > Restart your webserver of choice > > That worked fine for WebRICK, but when I tried to deploy my application > in Apache/CGI, I get the following error message, eventhough I added > the required "includes" it both ApplicationController and the > ApplicationHelper: > > > undefined method `datebocks_field'' for #<#<Class:0xb7848f6c>:0xb7848f44> > > Any ideas what might be going on? Weird that it works when I run my > app from WebRICK, but throws an exception when I run it from Apache?!? > > Thanks very much in advance, > > Peter V. > > > Nathaniel Brown wrote: > > About DateBocks > > ----- > > > > DateBocks is a pure JavaScript library using DHTML and advanced date parsing to > > generate the date based on the grammar passed. The purpose of DateBocks is to > > simplify the date entering process using common terms we are all familiar with. > > > > http://datebocks.inimit.com > > > > ------ > > > > This version fixes a number of bugs which arose due to the incredible > > support on various mailing lists. I had tested it in a few browsers, > > but with the extensive depth of variations in browsers/os''s, I > > recieved extensive feedback which is why this release has been > > announced so soon after the last major upgrade. My apologies for not > > doing sufficient testing on the previous version. Will be sure not to > > let it happen again :) > > > > This time around I have tested it in the following configurations: > > > > - Windows XP Firefox 1.0 > > - Windows XP Firefox 1.5 > > - Windows XP Opera 9.1 > > - Windows XP IE6 > > - Mac OSX 10.4 FireFox 1.5 > > - Mac OSX 10.4 Safari 2.0.3 > > > > If you find that your configuration doesn''t work, please submit a > > ticket to http://dev.toolbocks.com with the error message and the > > versions of your browser and operating system. > > > > -- > > Kind regards, > > > > Nathaniel Brown > > > > Inimit Innovations Inc. > > http://inimit.com > > > > >-- Kind regards, Nathaniel Brown Inimit Innovations Inc. http://inimit.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Thanks for adding the tickets. I especially like the wikipedia common date expressions for #18. -NSHB On 8/24/06, Tom Jordan <tdjordan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hi Nathaniel: > > I''ve added tickets 16-18. > I especially like 16 "once in a blue moon" > > Just adding common date expressions. > > Thanks for the plugin, > -- Tom. > > On 8/23/06, Nathaniel Brown <nshb-wgYSSEAWXinQT0dZR+AlfA@public.gmane.org> wrote: > > > > Hey Jeremy, > > > > Just added two new feature request tickets based on your recommendations. > > > > http://dev.toolbocks.com/tickets/14 > > http://dev.toolbocks.com/tickets/15 > > > > Thanks for the feedback. > > > > -NSHB > > > > > > On 8/23/06, Jeremy Wells <jwells-cH1Rxhrj+4a/3pe1ocb+s/XRex20P6io@public.gmane.org> wrote: > > > > > > Hi, i think it''s pretty cool, but one thing that I''d like to do that it > > > doesn''t: "3 days ago" "2 weeks time" etc. > > > > > > > > > Nathaniel Brown wrote: > > > About DateBocks > > > ----- > > > > > > DateBocks is a pure JavaScript library using DHTML and advanced date parsing > > > to > > > generate the date based on the grammar passed. The purpose of DateBocks is > > > to > > > simplify the date entering process using common terms we are all familiar > > > with. > > > > > > http://datebocks.inimit.com > > > > > > ------ > > > > > > This version fixes a number of bugs which arose due to the incredible > > > support on various mailing lists. I had tested it in a few browsers, > > > but with the extensive depth of variations in browsers/os''s, I > > > recieved extensive feedback which is why this release has been > > > announced so soon after the last major upgrade. My apologies for not > > > doing sufficient testing on the previous version. Will be sure not to > > > let it happen again :) > > > > > > This time around I have tested it in the following configurations: > > > > > > - Windows XP Firefox 1.0 > > > - Windows XP Firefox 1.5 > > > - Windows XP Opera 9.1 > > > - Windows XP IE6 > > > - Mac OSX 10.4 FireFox 1.5 > > > - Mac OSX 10.4 Safari 2.0.3 > > > > > > If you find that your configuration doesn''t work, please submit a > > > ticket to http://dev.toolbocks.com with the error message and the > > > versions of your browser and operating system. > > > > > > > > > > > > > > > -- > > > > > > > > > Jeremy Wells > > > Serval Systems Ltd. > > > > > > www.servalsystems.co.uk > > > Tel: 01342 331940 > > > Fax: 01342 331950 > > > > > > > > > > > > > > > > > > > > > > -- > > Kind regards, > > > > Nathaniel Brown > > > > Inimit Innovations Inc. > > http://inimit.com > > > > > > > > > > -- > "Nothing will ever be attempted, if all > possible objections must first be > overcome." - Samuel Johnson > > "Luck is what happens when > preparation meets opportunity." - Seneca > > > >-- Kind regards, Nathaniel Brown Inimit Innovations Inc. http://inimit.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Thomas, Mark - BLS CTR
2006-Aug-24 18:09 UTC
[Rails] Re: [ANN] DateBocks 2.0.1 - Bugfix Edition
> I especially like the wikipedia common date expressions for #18.Hehe, the first thing I tried was "4 score and 7 years ago" :) The next thing I tried was "in a fortnight". Looks like the Wikipedia entry covers them all (and more--I''ve never heard of a lustrum). But one that may actually be useful that also didn''t work: "a week from Friday" - Mark. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
there''s a typo in your install instructions, it should be "Engine*s*.start :datebocks", you''re missing a frustrating s! Nathaniel Brown wrote:> About DateBocks > ----- > > DateBocks is a pure JavaScript library using DHTML and advanced date parsing to > generate the date based on the grammar passed. The purpose of DateBocks is to > simplify the date entering process using common terms we are all familiar with. > > http://datebocks.inimit.com > > ------ > > This version fixes a number of bugs which arose due to the incredible > support on various mailing lists. I had tested it in a few browsers, > but with the extensive depth of variations in browsers/os''s, I > recieved extensive feedback which is why this release has been > announced so soon after the last major upgrade. My apologies for not > doing sufficient testing on the previous version. Will be sure not to > let it happen again :) > > This time around I have tested it in the following configurations: > > - Windows XP Firefox 1.0 > - Windows XP Firefox 1.5 > - Windows XP Opera 9.1 > - Windows XP IE6 > - Mac OSX 10.4 FireFox 1.5 > - Mac OSX 10.4 Safari 2.0.3 > > If you find that your configuration doesn''t work, please submit a > ticket to http://dev.toolbocks.com with the error message and the > versions of your browser and operating system. > >-- *Jeremy Wells* Serval Systems Ltd. www.servalsystems.co.uk <http://www.servalsystems.co.uk> Tel: 01342 331940 Fax: 01342 331950 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Hey Jeremy, Thanks for the heads-up. Someone pointed that out, and I submitted a bug report. http://dev.toolbocks.com/tickets/19 -NSHB On 8/25/06, Jeremy Wells <jwells-cH1Rxhrj+4a/3pe1ocb+s/XRex20P6io@public.gmane.org> wrote:> > there''s a typo in your install instructions, it should be "Engines.start > :datebocks", you''re missing a frustrating s! > > > Nathaniel Brown wrote: > About DateBocks > ----- > > DateBocks is a pure JavaScript library using DHTML and advanced date parsing > to > generate the date based on the grammar passed. The purpose of DateBocks is > to > simplify the date entering process using common terms we are all familiar > with. > > http://datebocks.inimit.com > > ------ > > This version fixes a number of bugs which arose due to the incredible > support on various mailing lists. I had tested it in a few browsers, > but with the extensive depth of variations in browsers/os''s, I > recieved extensive feedback which is why this release has been > announced so soon after the last major upgrade. My apologies for not > doing sufficient testing on the previous version. Will be sure not to > let it happen again :) > > This time around I have tested it in the following configurations: > > - Windows XP Firefox 1.0 > - Windows XP Firefox 1.5 > - Windows XP Opera 9.1 > - Windows XP IE6 > - Mac OSX 10.4 FireFox 1.5 > - Mac OSX 10.4 Safari 2.0.3 > > If you find that your configuration doesn''t work, please submit a > ticket to http://dev.toolbocks.com with the error message and the > versions of your browser and operating system. > > > > > -- > > > > Jeremy Wells > Serval Systems Ltd. > > www.servalsystems.co.uk > Tel: 01342 331940 > Fax: 01342 331950 > > > > > > >-- Kind regards, Nathaniel Brown Inimit Innovations Inc. http://inimit.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Nathaniel, I''m deploying my app with Capistrano. Datebocks works beautifully on my local machine, but when I send it to the server it looks as if the engine_files (css/js) aren''t even being copied over into the public directory. Have you run into this before? Any ideas what''s going on? On 8/25/06, Nathaniel Brown <nshb-wgYSSEAWXinQT0dZR+AlfA@public.gmane.org> wrote:> > > Hey Jeremy, > > Thanks for the heads-up. > > Someone pointed that out, and I submitted a bug report. > > http://dev.toolbocks.com/tickets/19 > > -NSHB > > On 8/25/06, Jeremy Wells <jwells-cH1Rxhrj+4a/3pe1ocb+s/XRex20P6io@public.gmane.org> wrote: > > > > there''s a typo in your install instructions, it should be " > Engines.start > > :datebocks", you''re missing a frustrating s! > > > > > > Nathaniel Brown wrote: > > About DateBocks > > ----- > > > > DateBocks is a pure JavaScript library using DHTML and advanced date > parsing > > to > > generate the date based on the grammar passed. The purpose of DateBocks > is > > to > > simplify the date entering process using common terms we are all > familiar > > with. > > > > http://datebocks.inimit.com > > > > ------ > > > > This version fixes a number of bugs which arose due to the incredible > > support on various mailing lists. I had tested it in a few browsers, > > but with the extensive depth of variations in browsers/os''s, I > > recieved extensive feedback which is why this release has been > > announced so soon after the last major upgrade. My apologies for not > > doing sufficient testing on the previous version. Will be sure not to > > let it happen again :) > > > > This time around I have tested it in the following configurations: > > > > - Windows XP Firefox 1.0 > > - Windows XP Firefox 1.5 > > - Windows XP Opera 9.1 > > - Windows XP IE6 > > - Mac OSX 10.4 FireFox 1.5 > > - Mac OSX 10.4 Safari 2.0.3 > > > > If you find that your configuration doesn''t work, please submit a > > ticket to http://dev.toolbocks.com with the error message and the > > versions of your browser and operating system. > > > > > > > > > > -- > > > > > > > > Jeremy Wells > > Serval Systems Ltd. > > > > www.servalsystems.co.uk > > Tel: 01342 331940 > > Fax: 01342 331950 > > > > > > > > > > > > > > > > -- > Kind regards, > > Nathaniel Brown > > Inimit Innovations Inc. > http://inimit.com > > > >-- seth at subimage interactive http://www.subimage.com/sublog/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Hi ! 2006/9/1, subimage interactive <subimage@gmail.com>:> I'm deploying my app with Capistrano. Datebocks works beautifully on my > local machine, but when I send it to the server it looks as if the > engine_files (css/js) aren't even being copied over into the public > directory.Can you request the files from your browser ? http://app.com/engine_files/datebocks_engine/stylesheets/engine.css Or whatever ? What about permissions ? You can confirm that you have Engines.start in environment.rb ?> Have you run into this before? Any ideas what's going on?Nope. Works beautifully here. Bye ! -- François Beausoleil http://blog.teksol.info/ http://piston.rubyforge.org/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Francois, I''ve done lots of work with engines (see Substruct :) So, I already tried that. Looks as if engine_files isn''t even being created in my site/current/public directory upon a deploy - which is really strange. I guess I should hit up the engines mailing list to see what''s up. On 9/1/06, Francois Beausoleil <francois.beausoleil-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hi ! > > 2006/9/1, subimage interactive <subimage-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: > > I''m deploying my app with Capistrano. Datebocks works beautifully on my > > local machine, but when I send it to the server it looks as if the > > engine_files (css/js) aren''t even being copied over into the public > > directory. > > Can you request the files from your browser ? > http://app.com/engine_files/datebocks_engine/stylesheets/engine.css > > Or whatever ? What about permissions ? You can confirm that you have > Engines.start in environment.rb ? > > > Have you run into this before? Any ideas what''s going on? > > Nope. Works beautifully here. > > Bye ! > -- > François Beausoleil > http://blog.teksol.info/ > http://piston.rubyforge.org/ > > > >-- seth at subimage interactive http://www.subimage.com/sublog/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Hey Seth, As Francois mentioned, it is really a case of two things. First would be that the Engines.start :datebocks isn''t being called. If you have substruct, simply add a comma and put another symbol after :datebocks. Seeing as it is working locally, this doesn''t sound like it would be it though. Second would be the permissions on the engines_files directory. That needs to be +rw by the same person who starts the web server. If that is the case, and you can verify that the css/js files are indeed being copied over, then it''s to do with the web server user not being able to access the files. -NSHB On 9/1/06, subimage interactive <subimage-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Nathaniel, > > I''m deploying my app with Capistrano. Datebocks works beautifully on my > local machine, but when I send it to the server it looks as if the > engine_files (css/js) aren''t even being copied over into the public > directory. > > Have you run into this before? Any ideas what''s going on? > > > On 8/25/06, Nathaniel Brown <nshb-wgYSSEAWXinQT0dZR+AlfA@public.gmane.org> wrote: > > > > Hey Jeremy, > > Thanks for the heads-up. > > Someone pointed that out, and I submitted a bug report. > > http://dev.toolbocks.com/tickets/19 > > -NSHB > > On 8/25/06, Jeremy Wells <jwells-cH1Rxhrj+4a/3pe1ocb+s/XRex20P6io@public.gmane.org> wrote: > > > > there''s a typo in your install instructions, it should be "Engines.start > > :datebocks", you''re missing a frustrating s! > > > > > > Nathaniel Brown wrote: > > About DateBocks > > ----- > > > > DateBocks is a pure JavaScript library using DHTML and advanced date > parsing > > to > > generate the date based on the grammar passed. The purpose of DateBocks is > > to > > simplify the date entering process using common terms we are all familiar > > with. > > > > http://datebocks.inimit.com > > > > ------ > > > > This version fixes a number of bugs which arose due to the incredible > > support on various mailing lists. I had tested it in a few browsers, > > but with the extensive depth of variations in browsers/os''s, I > > recieved extensive feedback which is why this release has been > > announced so soon after the last major upgrade. My apologies for not > > doing sufficient testing on the previous version. Will be sure not to > > let it happen again :) > > > > This time around I have tested it in the following configurations: > > > > - Windows XP Firefox 1.0 > > - Windows XP Firefox 1.5 > > - Windows XP Opera 9.1 > > - Windows XP IE6 > > - Mac OSX 10.4 FireFox 1.5 > > - Mac OSX 10.4 Safari 2.0.3 > > > > If you find that your configuration doesn''t work, please submit a > > ticket to http://dev.toolbocks.com with the error message and the > > versions of your browser and operating system. > > > > > > > > > > -- > > > > > > > > Jeremy Wells > > Serval Systems Ltd. > > > > www.servalsystems.co.uk > > Tel: 01342 331940 > > Fax: 01342 331950 > > > > > > > > > > > > > > > > -- > Kind regards, > > Nathaniel Brown > > Inimit Innovations Inc. > http://inimit.com > > http://www.subimage.com/sublog/ > > > > >-- Nathaniel Steven Henry Brown Open Source Insight - http://nshb.net Open Source Development - http://inimit.com Open Source Training - http://osevents.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Nathaniel, is there any config parameter to change the default date format from YYYY - MM -DD to MM/DD/YYYY? Rafael On 8/21/06, Nathaniel Brown <nshb-wgYSSEAWXinQT0dZR+AlfA@public.gmane.org> wrote:> > About DateBocks > ----- > > DateBocks is a pure JavaScript library using DHTML and advanced date parsing to > generate the date based on the grammar passed. The purpose of DateBocks is to > simplify the date entering process using common terms we are all familiar with. > > http://datebocks.inimit.com > > ------ > > This version fixes a number of bugs which arose due to the incredible > support on various mailing lists. I had tested it in a few browsers, > but with the extensive depth of variations in browsers/os''s, I > recieved extensive feedback which is why this release has been > announced so soon after the last major upgrade. My apologies for not > doing sufficient testing on the previous version. Will be sure not to > let it happen again :) > > This time around I have tested it in the following configurations: > > - Windows XP Firefox 1.0 > - Windows XP Firefox 1.5 > - Windows XP Opera 9.1 > - Windows XP IE6 > - Mac OSX 10.4 FireFox 1.5 > - Mac OSX 10.4 Safari 2.0.3 > > If you find that your configuration doesn''t work, please submit a > ticket to http://dev.toolbocks.com with the error message and the > versions of your browser and operating system. > > -- > Kind regards, > > Nathaniel Brown > > Inimit Innovations Inc. > http://inimit.com > > > >-- http://www.bdcsoftware.com" - Automotive CRM --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
pvandenberk-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org
2006-Sep-01 19:44 UTC
Re: [ANN] DateBocks 2.0.1 - Bugfix Edition
subimage interactive wrote:> I''m deploying my app with Capistrano. Datebocks works beautifully on my > local machine, but when I send it to the server it looks as if the > engine_files (css/js) aren''t even being copied over into the public > directory. > > Have you run into this before? Any ideas what''s going on?I have a similar issue... Datebocks works beautifully when running the application via Webrick, but when I deploy it in an Apache/CGI environment, it gives me the following error message:> undefined method `datebocks_field'' for #<#<Class:0xb7848f6c>:0xb7848f44>(FYI: I posted this issue on this thread about a week ago) ... I''m not sure this is the same issue as yours, but it definitely appears that the two problems might be related. Hopefully the following might be of use to you: I haven''t been able to resolve this issue yet, but I have been able to verify that it is most likely not a permissions issue: by logging "Engines.start.inspect" I can actually verify that both "vendor/plugins/engines" and "vendor/plugins/datebocks_engine" are loaded (and from the correct location) in the webrick as well as in the apache/CGI setup. However, in the Apache/CGI setup, it appears that the Datebocks engine stuff isn''t correctly "included" in the ApplicationHelper module (and hence not correctly mixed into the templates) which at least explains the above error message... Using "ApplicationHelper.method_defined? :datebocks_field" before and after starting the engines, I seem to be able to confirm that somehow the Datebocks stuff doesn''t get included: in my WebRICK environment, I get "false"/"true", but in my Apache/CGI environment I get "false"/"false".............. things that make you go hmmmmmmmmmm But why it doesn''t get included is still a mystery... the investigation continues. Anyway, maybe the above is useful info for you to get to the bottom of your problem. FYI, PV --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Nathaniel, I wrote Substruct :) Yeah - stupid me it''s a permissions problem. Good looking out. On 9/1/06, Nathaniel Brown <nshb-wgYSSEAWXinQT0dZR+AlfA@public.gmane.org> wrote:> > > Hey Seth, > > As Francois mentioned, it is really a case of two things. > > First would be that the Engines.start :datebocks isn''t being called. > > If you have substruct, simply add a comma and put another symbol after > :datebocks. > > Seeing as it is working locally, this doesn''t sound like it would be it > though. > > Second would be the permissions on the engines_files directory. That > needs to be +rw by the same person who starts the web server. If that > is the case, and you can verify that the css/js files are indeed being > copied over, then it''s to do with the web server user not being able > to access the files. > > -NSHB > > On 9/1/06, subimage interactive <subimage-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Nathaniel, > > > > I''m deploying my app with Capistrano. Datebocks works beautifully on my > > local machine, but when I send it to the server it looks as if the > > engine_files (css/js) aren''t even being copied over into the public > > directory. > > > > Have you run into this before? Any ideas what''s going on? > > > > > > On 8/25/06, Nathaniel Brown <nshb-wgYSSEAWXinQT0dZR+AlfA@public.gmane.org> wrote: > > > > > > > Hey Jeremy, > > > > Thanks for the heads-up. > > > > Someone pointed that out, and I submitted a bug report. > > > > http://dev.toolbocks.com/tickets/19 > > > > -NSHB > > > > On 8/25/06, Jeremy Wells <jwells-cH1Rxhrj+4a/3pe1ocb+s/XRex20P6io@public.gmane.org> wrote: > > > > > > there''s a typo in your install instructions, it should be " > Engines.start > > > :datebocks", you''re missing a frustrating s! > > > > > > > > > Nathaniel Brown wrote: > > > About DateBocks > > > ----- > > > > > > DateBocks is a pure JavaScript library using DHTML and advanced date > > parsing > > > to > > > generate the date based on the grammar passed. The purpose of > DateBocks is > > > to > > > simplify the date entering process using common terms we are all > familiar > > > with. > > > > > > http://datebocks.inimit.com > > > > > > ------ > > > > > > This version fixes a number of bugs which arose due to the incredible > > > support on various mailing lists. I had tested it in a few browsers, > > > but with the extensive depth of variations in browsers/os''s, I > > > recieved extensive feedback which is why this release has been > > > announced so soon after the last major upgrade. My apologies for not > > > doing sufficient testing on the previous version. Will be sure not to > > > let it happen again :) > > > > > > This time around I have tested it in the following configurations: > > > > > > - Windows XP Firefox 1.0 > > > - Windows XP Firefox 1.5 > > > - Windows XP Opera 9.1 > > > - Windows XP IE6 > > > - Mac OSX 10.4 FireFox 1.5 > > > - Mac OSX 10.4 Safari 2.0.3 > > > > > > If you find that your configuration doesn''t work, please submit a > > > ticket to http://dev.toolbocks.com with the error message and the > > > versions of your browser and operating system. > > > > > > > > > > > > > > > -- > > > > > > > > > > > > Jeremy Wells > > > Serval Systems Ltd. > > > > > > www.servalsystems.co.uk > > > Tel: 01342 331940 > > > Fax: 01342 331950 > > > > > > > > > > > > > > > > > > > > > > > > > -- > > Kind regards, > > > > Nathaniel Brown > > > > Inimit Innovations Inc. > > http://inimit.com > > > > http://www.subimage.com/sublog/ > > > > > > > > > > > > -- > Nathaniel Steven Henry Brown > > Open Source Insight - http://nshb.net > Open Source Development - http://inimit.com > Open Source Training - http://osevents.com > > > >-- seth at subimage interactive http://www.subimage.com/sublog/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Hey PV, I am curious whether or not DateBocks itself is being loaded on Apache/CGI? Can you verify in your log/production or development logs that it is indeed being started correctly? Next question I would ask is whether or not the code on the Apache server is the same. If you have the Engines.start :datebocks code within your environment.rb, and both the engines plugin and datebocks_engine plugin are sitting comfortably in the vendor/plugins directory, it would lead me to assume that Apache has not yet been restarted. Or may need to have a hard stop/start to kick DateBocks into the loaded CGI cycle. -NSHB On 9/1/06, pvandenberk-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org <pvandenberk-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> > subimage interactive wrote: > > I''m deploying my app with Capistrano. Datebocks works beautifully on my > > local machine, but when I send it to the server it looks as if the > > engine_files (css/js) aren''t even being copied over into the public > > directory. > > > > Have you run into this before? Any ideas what''s going on? > > I have a similar issue... Datebocks works beautifully when running the > application via Webrick, but when I deploy it in an Apache/CGI > environment, it gives me the following error message: > > > undefined method `datebocks_field'' for #<#<Class:0xb7848f6c>:0xb7848f44> > > (FYI: I posted this issue on this thread about a week ago) ... I''m not > sure this is the same issue as yours, but it definitely appears that > the two problems might be related. Hopefully the following might be of > use to you: > > I haven''t been able to resolve this issue yet, but I have been able to > verify that it is most likely not a permissions issue: by logging > "Engines.start.inspect" I can actually verify that both > "vendor/plugins/engines" and "vendor/plugins/datebocks_engine" are > loaded (and from the correct location) in the webrick as well as in the > apache/CGI setup. > > However, in the Apache/CGI setup, it appears that the Datebocks engine > stuff isn''t correctly "included" in the ApplicationHelper module (and > hence not correctly mixed into the templates) which at least explains > the above error message... > > Using "ApplicationHelper.method_defined? :datebocks_field" before and > after starting the engines, I seem to be able to confirm that somehow > the Datebocks stuff doesn''t get included: in my WebRICK environment, I > get "false"/"true", but in my Apache/CGI environment I get > "false"/"false".............. things that make you go hmmmmmmmmmm > > But why it doesn''t get included is still a mystery... the investigation > continues. Anyway, maybe the above is useful info for you to get to > the bottom of your problem. FYI, > > PV > > > > >-- Nathaniel Steven Henry Brown Open Source Insight - http://nshb.net Open Source Development - http://inimit.com Open Source Training - http://osevents.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
I''d like to echo this question. I really like using DateBocks, and have implemented in our organization''s website. Several co-workers, however, would like to see the default date format as MM - DD - YY. Is there any way to do this? Thanks, Chris On 9/1/06, Nathaniel Brown <nshb-wgYSSEAWXinQT0dZR+AlfA@public.gmane.org> wrote:> > > Hey PV, > > I am curious whether or not DateBocks itself is being loaded on > Apache/CGI? > > Can you verify in your log/production or development logs that it is > indeed being started correctly? > > Next question I would ask is whether or not the code on the Apache > server is the same. If you have the Engines.start :datebocks code > within your environment.rb, and both the engines plugin and > datebocks_engine plugin are sitting comfortably in the vendor/plugins > directory, it would lead me to assume that Apache has not yet been > restarted. Or may need to have a hard stop/start to kick DateBocks > into the loaded CGI cycle. > > -NSHB > > On 9/1/06, pvandenberk-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org <pvandenberk-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: > > > > subimage interactive wrote: > > > I''m deploying my app with Capistrano. Datebocks works beautifully on > my > > > local machine, but when I send it to the server it looks as if the > > > engine_files (css/js) aren''t even being copied over into the public > > > directory. > > > > > > Have you run into this before? Any ideas what''s going on? > > > > I have a similar issue... Datebocks works beautifully when running the > > application via Webrick, but when I deploy it in an Apache/CGI > > environment, it gives me the following error message: > > > > > undefined method `datebocks_field'' for > #<#<Class:0xb7848f6c>:0xb7848f44> > > > > (FYI: I posted this issue on this thread about a week ago) ... I''m not > > sure this is the same issue as yours, but it definitely appears that > > the two problems might be related. Hopefully the following might be of > > use to you: > > > > I haven''t been able to resolve this issue yet, but I have been able to > > verify that it is most likely not a permissions issue: by logging > > "Engines.start.inspect" I can actually verify that both > > "vendor/plugins/engines" and "vendor/plugins/datebocks_engine" are > > loaded (and from the correct location) in the webrick as well as in the > > apache/CGI setup. > > > > However, in the Apache/CGI setup, it appears that the Datebocks engine > > stuff isn''t correctly "included" in the ApplicationHelper module (and > > hence not correctly mixed into the templates) which at least explains > > the above error message... > > > > Using "ApplicationHelper.method_defined? :datebocks_field" before and > > after starting the engines, I seem to be able to confirm that somehow > > the Datebocks stuff doesn''t get included: in my WebRICK environment, I > > get "false"/"true", but in my Apache/CGI environment I get > > "false"/"false".............. things that make you go hmmmmmmmmmm > > > > But why it doesn''t get included is still a mystery... the investigation > > continues. Anyway, maybe the above is useful info for you to get to > > the bottom of your problem. FYI, > > > > PV > > > > > > > > > > > > -- > Nathaniel Steven Henry Brown > > Open Source Insight - http://nshb.net > Open Source Development - http://inimit.com > Open Source Training - http://osevents.com > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Hey Chris, I am to suppose you mean at GWU? To you question, currently there are there options for the different formats US = MM/DD/YYYY ISO = YYYY/MM/DD DE = MM.DD.YYYY You can configure any one of these in the engine itself, by modifying the datebocks_engine.js file. I haven''t yet implemented a way to override the setting on a per instance level quite yet, but just created a ticket to put some energy into this when I get a moment. http://dev.toolbocks.com/tickets/34 -NSHB On 9/2/06, Chris Selmer <cselmer-bAyde64XM/w@public.gmane.org> wrote:> I''d like to echo this question. I really like using DateBocks, and have > implemented in our organization''s website. Several co-workers, however, > would like to see the default date format as MM - DD - YY. Is there any way > to do this? > > Thanks, > Chris > > > On 9/1/06, Nathaniel Brown <nshb-wgYSSEAWXinQT0dZR+AlfA@public.gmane.org> wrote: > > > > Hey PV, > > I am curious whether or not DateBocks itself is being loaded on Apache/CGI? > > Can you verify in your log/production or development logs that it is > indeed being started correctly? > > Next question I would ask is whether or not the code on the Apache > server is the same. If you have the Engines.start :datebocks code > within your environment.rb, and both the engines plugin and > datebocks_engine plugin are sitting comfortably in the vendor/plugins > directory, it would lead me to assume that Apache has not yet been > restarted. Or may need to have a hard stop/start to kick DateBocks > into the loaded CGI cycle. > > -NSHB > > On 9/1/06, pvandenberk-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org < pvandenberk-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: > > > > subimage interactive wrote: > > > I''m deploying my app with Capistrano. Datebocks works beautifully on my > > > local machine, but when I send it to the server it looks as if the > > > engine_files (css/js) aren''t even being copied over into the public > > > directory. > > > > > > Have you run into this before? Any ideas what''s going on? > > > > I have a similar issue... Datebocks works beautifully when running the > > application via Webrick, but when I deploy it in an Apache/CGI > > environment, it gives me the following error message: > > > > > undefined method `datebocks_field'' for > #<#<Class:0xb7848f6c>:0xb7848f44> > > > > (FYI: I posted this issue on this thread about a week ago) ... I''m not > > sure this is the same issue as yours, but it definitely appears that > > the two problems might be related. Hopefully the following might be of > > use to you: > > > > I haven''t been able to resolve this issue yet, but I have been able to > > verify that it is most likely not a permissions issue: by logging > > "Engines.start.inspect" I can actually verify that both > > "vendor/plugins/engines" and > "vendor/plugins/datebocks_engine" are > > loaded (and from the correct location) in the webrick as well as in the > > apache/CGI setup. > > > > However, in the Apache/CGI setup, it appears that the Datebocks engine > > stuff isn''t correctly "included" in the ApplicationHelper module (and > > hence not correctly mixed into the templates) which at least explains > > the above error message... > > > > Using " ApplicationHelper.method_defined? > :datebocks_field" before and > > after starting the engines, I seem to be able to confirm that somehow > > the Datebocks stuff doesn''t get included: in my WebRICK environment, I > > get "false"/"true", but in my Apache/CGI environment I get > > "false"/"false".............. things that make you go hmmmmmmmmmm > > > > But why it doesn''t get included is still a mystery... the investigation > > continues. Anyway, maybe the above is useful info for you to get to > > the bottom of your problem. FYI, > > > > PV > > > > > > > > > > > > -- > Nathaniel Steven Henry Brown > > Open Source Insight - http://nshb.net > Open Source Development - http://inimit.com > Open Source Training - http://osevents.com > > > > > > >-- Nathaniel Steven Henry Brown Open Source Insight - http://nshb.net Open Source Development - http://inimit.com Open Source Training - http://osevents.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
On 02 Sep 2006, at 16:29, Nathaniel Brown wrote:> > Hey Chris, > > I am to suppose you mean at GWU? > > To you question, currently there are there options for the > different formats > > US = MM/DD/YYYY > ISO = YYYY/MM/DD > DE = MM.DD.YYYY > > You can configure any one of these in the engine itself, by modifying > the datebocks_engine.js file. I haven''t yet implemented a way to > override the setting on a per instance level quite yet, but just > created a ticket to put some energy into this when I get a moment. > > http://dev.toolbocks.com/tickets/34It''s going to get messy anyway. Over here in Belgium, we use two formats: DD-MM-YYYY or DD/MM/YYYY. Best regards Peter De Berdt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Hey Peter, Just for you, I did an unexpected release of DateBocks to v2.0.3 You can upgrade, and will find that there is now the functionality you requested for the new date formats. To override them, simply add this block of code above the JS include tags for DateBocks. <script type="text/javascript"> // Available date types // - iso // - de // - us // - dd/mm/yyyy // - dd-mm-yyyy // - mm/dd/yyyy // - mm.dd.yyyy // - yyyy-mm-dd var configDateType = ''dd-mm-yyyy''; </script> Enjoy! -NSHB On 9/2/06, Peter De Berdt <peter.de.berdt-LPO8gxj9N8aZIoH1IeqzKA@public.gmane.org> wrote:> > > > On 02 Sep 2006, at 16:29, Nathaniel Brown wrote: > > > Hey Chris, > > I am to suppose you mean at GWU? > > To you question, currently there are there options for the different formats > > US = MM/DD/YYYY > ISO = YYYY/MM/DD > DE = MM.DD.YYYY > > You can configure any one of these in the engine itself, by modifying > the datebocks_engine.js file. I haven''t yet implemented a way to > override the setting on a per instance level quite yet, but just > created a ticket to put some energy into this when I get a moment. > > http://dev.toolbocks.com/tickets/34 > > It''s going to get messy anyway. Over here in Belgium, we use two formats: > DD-MM-YYYY or DD/MM/YYYY. > > > > > > Best regards > > > > > > Peter De Berdt > > > > > >-- Nathaniel Steven Henry Brown Open Source Insight - http://nshb.net Open Source Development - http://inimit.com Open Source Training - http://osevents.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Hi Nathaniel, I''m running into the same issue here, has any light been shed on the mistery? datebocks works great on my local machine, but I get this undefined method datebocks_field error on dreamhost, though I''ve killed and started new fcgi processes several times. I''ve triple checked everything mentioned on this thread: I have both the engines and the datebocks_engine installed correctly, my environment config has Engines.start :datebocks, and both ApplicationController and ApplicationHelper include datebocks. on my local machine I''m using Locomotive 2 (mongrel), and on production I have the standard apache/lighttpd/fcgi setup, with Rails 1.1.6 one thing I noticed on development was that sometimes I would get this same error when running the page using datebocks for the first time after starting the server, but from the first refresh on it would work fine. could this be related? many thanks, by the way... datebocks is just what I needed after struggling with the rails date helpers! - Oliver 2006/9/1, Nathaniel Brown <nshb-wgYSSEAWXinQT0dZR+AlfA@public.gmane.org>:> > Hey PV, > > I am curious whether or not DateBocks itself is being loaded on Apache/CGI? > > Can you verify in your log/production or development logs that it is > indeed being started correctly? > > Next question I would ask is whether or not the code on the Apache > server is the same. If you have the Engines.start :datebocks code > within your environment.rb, and both the engines plugin and > datebocks_engine plugin are sitting comfortably in the vendor/plugins > directory, it would lead me to assume that Apache has not yet been > restarted. Or may need to have a hard stop/start to kick DateBocks > into the loaded CGI cycle. > > -NSHB > > On 9/1/06, pvandenberk-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org <pvandenberk-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: > > > > subimage interactive wrote: > > > I''m deploying my app with Capistrano. Datebocks works beautifully on my > > > local machine, but when I send it to the server it looks as if the > > > engine_files (css/js) aren''t even being copied over into the public > > > directory. > > > > > > Have you run into this before? Any ideas what''s going on? > > > > I have a similar issue... Datebocks works beautifully when running the > > application via Webrick, but when I deploy it in an Apache/CGI > > environment, it gives me the following error message: > > > > > undefined method `datebocks_field'' for #<#<Class:0xb7848f6c>:0xb7848f44> > > > > (FYI: I posted this issue on this thread about a week ago) ... I''m not > > sure this is the same issue as yours, but it definitely appears that > > the two problems might be related. Hopefully the following might be of > > use to you: > > > > I haven''t been able to resolve this issue yet, but I have been able to > > verify that it is most likely not a permissions issue: by logging > > "Engines.start.inspect" I can actually verify that both > > "vendor/plugins/engines" and "vendor/plugins/datebocks_engine" are > > loaded (and from the correct location) in the webrick as well as in the > > apache/CGI setup. > > > > However, in the Apache/CGI setup, it appears that the Datebocks engine > > stuff isn''t correctly "included" in the ApplicationHelper module (and > > hence not correctly mixed into the templates) which at least explains > > the above error message... > > > > Using "ApplicationHelper.method_defined? :datebocks_field" before and > > after starting the engines, I seem to be able to confirm that somehow > > the Datebocks stuff doesn''t get included: in my WebRICK environment, I > > get "false"/"true", but in my Apache/CGI environment I get > > "false"/"false".............. things that make you go hmmmmmmmmmm > > > > But why it doesn''t get included is still a mystery... the investigation > > continues. Anyway, maybe the above is useful info for you to get to > > the bottom of your problem. FYI, > > > > PV > > > > > > > > > > > > -- > Nathaniel Steven Henry Brown > > Open Source Insight - http://nshb.net > Open Source Development - http://inimit.com > Open Source Training - http://osevents.com > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
anyone? sorry to be a pain, but this is a bit of a showstopper right now on a project I''m working on 2006/11/9, Oliver Barnes <ol1barn3s-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> Hi Nathaniel, > > I''m running into the same issue here, has any light been shed on the mistery? > datebocks works great on my local machine, but I get this undefined > method datebocks_field error on dreamhost, though I''ve killed and > started new fcgi processes several times. I''ve triple checked > everything mentioned on this thread: I have both the engines and the > datebocks_engine installed correctly, my environment config has > Engines.start :datebocks, and both ApplicationController and > ApplicationHelper include datebocks. > > on my local machine I''m using Locomotive 2 (mongrel), and on > production I have the standard apache/lighttpd/fcgi setup, with Rails > 1.1.6 > > one thing I noticed on development was that sometimes I would get this > same error when running the page using datebocks for the first time > after starting the server, but from the first refresh on it would work > fine. could this be related? > > many thanks, by the way... datebocks is just what I needed after > struggling with the rails date helpers! > > - Oliver > > 2006/9/1, Nathaniel Brown <nshb-wgYSSEAWXinQT0dZR+AlfA@public.gmane.org>: > > > > Hey PV, > > > > I am curious whether or not DateBocks itself is being loaded on Apache/CGI? > > > > Can you verify in your log/production or development logs that it is > > indeed being started correctly? > > > > Next question I would ask is whether or not the code on the Apache > > server is the same. If you have the Engines.start :datebocks code > > within your environment.rb, and both the engines plugin and > > datebocks_engine plugin are sitting comfortably in the vendor/plugins > > directory, it would lead me to assume that Apache has not yet been > > restarted. Or may need to have a hard stop/start to kick DateBocks > > into the loaded CGI cycle. > > > > -NSHB > > > > On 9/1/06, pvandenberk-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org <pvandenberk-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: > > > > > > subimage interactive wrote: > > > > I''m deploying my app with Capistrano. Datebocks works beautifully on my > > > > local machine, but when I send it to the server it looks as if the > > > > engine_files (css/js) aren''t even being copied over into the public > > > > directory. > > > > > > > > Have you run into this before? Any ideas what''s going on? > > > > > > I have a similar issue... Datebocks works beautifully when running the > > > application via Webrick, but when I deploy it in an Apache/CGI > > > environment, it gives me the following error message: > > > > > > > undefined method `datebocks_field'' for #<#<Class:0xb7848f6c>:0xb7848f44> > > > > > > (FYI: I posted this issue on this thread about a week ago) ... I''m not > > > sure this is the same issue as yours, but it definitely appears that > > > the two problems might be related. Hopefully the following might be of > > > use to you: > > > > > > I haven''t been able to resolve this issue yet, but I have been able to > > > verify that it is most likely not a permissions issue: by logging > > > "Engines.start.inspect" I can actually verify that both > > > "vendor/plugins/engines" and "vendor/plugins/datebocks_engine" are > > > loaded (and from the correct location) in the webrick as well as in the > > > apache/CGI setup. > > > > > > However, in the Apache/CGI setup, it appears that the Datebocks engine > > > stuff isn''t correctly "included" in the ApplicationHelper module (and > > > hence not correctly mixed into the templates) which at least explains > > > the above error message... > > > > > > Using "ApplicationHelper.method_defined? :datebocks_field" before and > > > after starting the engines, I seem to be able to confirm that somehow > > > the Datebocks stuff doesn''t get included: in my WebRICK environment, I > > > get "false"/"true", but in my Apache/CGI environment I get > > > "false"/"false".............. things that make you go hmmmmmmmmmm > > > > > > But why it doesn''t get included is still a mystery... the investigation > > > continues. Anyway, maybe the above is useful info for you to get to > > > the bottom of your problem. FYI, > > > > > > PV > > > > > > > > > > > > > > > > > > > -- > > Nathaniel Steven Henry Brown > > > > Open Source Insight - http://nshb.net > > Open Source Development - http://inimit.com > > Open Source Training - http://osevents.com > > > > > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---