Forum: Ruby on Rails Fwd: change javascript default from jquery back to prototype

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
94a7a55f37d81f6b3055ae60bd81790f?d=identicon&s=25 Felipe Gallois (Guest)
on 2009-01-07 17:32
(Received via mailing list)
Hello all,

recently I installed the jrails plugin which changed the
javascript_include_tag :defaults to include the jquery libraries...

The jquery did no good, so I want the prototype back, but i can't manage
to
get the :defaults to include its libraries to me...

any tips on that are greatly appreciated!!

thanks and cheers!

--
gallois
aka Felipe Gallois
blog: www.gallois.com.br/blog
fanglib homepage: www.gallois.com.br/fanglib
4c438a80fc30661ad619ea177cf9cbd0?d=identicon&s=25 Freddy Andersen (Guest)
on 2009-01-07 17:44
(Received via mailing list)
Remove the vendor/plugin/jrails directory and remove the jquery
scripts in public/javascripts/

That should be all you need todo...
94a7a55f37d81f6b3055ae60bd81790f?d=identicon&s=25 Felipe Gallois (Guest)
on 2009-01-07 17:47
(Received via mailing list)
already did it, no luck

On Wed, Jan 7, 2009 at 14:44, Freddy Andersen <freddy@cfandersen.com>
wrote:

>
> Remove the vendor/plugin/jrails directory and remove the jquery
> scripts in public/javascripts/
>
> That should be all you need todo...
> >
>


--
gallois
aka Felipe Gallois
blog: www.gallois.com.br/blog
fanglib homepage: www.gallois.com.br/fanglib
83c8cca11558f32207645ca270ae8475?d=identicon&s=25 Dingding Ye (Guest)
on 2009-01-07 19:34
(Received via mailing list)
check this variable in console:

>> ActionView::Helpers::AssetTagHelper::JAVASCRIPT_DEFAULT_SOURCES
94a7a55f37d81f6b3055ae60bd81790f?d=identicon&s=25 Felipe Gallois (Guest)
on 2009-01-07 22:04
(Received via mailing list)
the variable was ok, i just overwritten it with itself and restarted the
server and now it is working...

thank you!!

cheers

On Wed, Jan 7, 2009 at 16:33, Dingding Ye <yedingding@gmail.com> wrote:

>>
>> gallois
>> aka Felipe Gallois
>> blog: www.gallois.com.br/blog
>> fanglib homepage: www.gallois.com.br/fanglib
>>
>>
>>
>
> >
>


--
gallois
aka Felipe Gallois
blog: www.gallois.com.br/blog
fanglib homepage: www.gallois.com.br/fanglib
This topic is locked and can not be replied to.