Re: Need Help With Datebock plugin

Nathaniel Brown
Thu, 29 Mar 2007 08:51:03 -0000

Hey Conrad,

You could have used

http://svn.toolbocks.com/demos/datetime_toolbocks/

Instantly up and running app :)

Dlo, that might work for you as well. As a working reference anyways.
That''s whats running on http://datetime.toolbocks.com

Nathaniel.

On 3/28/07, Conrad Taylor
<conradwt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
>
> Hi dlo, I was able to successfully install it.  BTW, I was using Ruby
> 1.8.6, Rails 1.2.3, Engines 1.2, and Rake 0.7.2.  It took me about 20
> minutes to get a test application up and operational using the most
> current version of Datetime Toolbocks.
>
> -Conrad
>
> On 3/21/07, dlo
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:
> >
> > Hi everyone,
> >
> > I''m using currently Ruby 1.8.4, Rails 1.2.3, Rake 0.7.2,
Engines 1.2, &
> > Datebocks 2.03.  I followed the instructions on
> > http://datebocks.inimit.com/  I''m getting this error
undefined method
> > `engine_image''.
> >
> > Here is the code:
> >
> >
> > Start Date:
> >   <%= datebocks_field(''table_rate'',
''date_column'') %>
> >
> >
> > I added ''include DatebocksEngine'' to both the
application and
> > application helper, also, I added
> >
> > <%= engine_javascript "datebocks_engine",
"calendar",
> > "lang/calendar-en", "calendar-setup" %>
> >   <%= engine_stylesheet "datebocks_engine",
"calendar-win2k-cold-1.css"
> > %>
> >
> > to my layout.
> >
> > Lastly I tried adding Engines.start :datebocks to my environment.rb,
but
> > that doesn''t work with Engines 1.2
> >
> >
> > Did anyone successfully get Datebocks to work on Engines 1.2?  Is
there
> > a way to revert back to an older version?  Or if someone did get it to
> > work with different versions, could you please tell me how to install
> > older versions of Rails or Engines to get this to work. I do not have
> > any previous versions of Rails installed on my computer. There really
> > isn''t that much about Datebocks and Engines 1.2.  Thanks in
advance
> >
> > dlo
> >
> > --
> > Posted via http://www.ruby-forum.com/.
> >
> > >
> >
>
> >
>


--
Nathaniel Steven Henry Brown

Toll Free: 1-877-446-4647
Vancouver: 604-724-6624