search for: jrail

Displaying 20 results from an estimated 24 matches for "jrail".

Did you mean: jail
2009 Apr 12
5
Problems with jRails and ajax helpers
I working on a Rails 2.2.2 app that uses jRails and any time I attempt to use a Rails ajax helper, I get the following error: index 116545 out of string with this stack trace: vendor/plugins/jrails/lib/jrails.rb:197:in `[]='' vendor/plugins/jrails/lib/jrails.rb:197:in `build_callbacks'' vendor/plugins/jrails/lib/jrails.rb:119...
2008 Jul 17
2
Problem with link_to_remote, RJS and jRails
Hi, everyone, I''m trying to update the content of a div using link_to_remote and RJS template. Everything works fine if I use the default Prototype/Scriptaculous libraries, but I want to use jRails ''coz other parts of my application use a lot of jQuery. Here are the steps I done: 1. inside StatesController.rb I defined the following action: def update_view # do nothing just render the default template, in my case a RJS template end 2. here''s the whole update_view.rjs fi...
2007 Nov 15
1
jRails plugin: jQuery on Rails
...t for basic AJAX calls (form_to_remote, link_to_remote), RJS, observers (observe_form, observe_field) as well as a limited set of functionality for draggables, droppables, sortables and visual effects. Please check it out if you are interested. Feedback is appreciated! http://ennerchi.com/projects/jrails Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from...
2009 Apr 08
0
authenticity problem with jrails ajax
I''m using jrails and I found when I use the authenticity_token in certain javascript calls, that the url works differently in that the paramters in the :with clause get dropped if they are in a json type syntax. Below is an example of a remote_function() call from JS that used to work fine without authenticity. Wh...
2009 Jun 03
0
TINY MCE Jrails media upload
Hi Can anybody give me idea to do media upload in rails using tiny_mce and jrails ? Thanks ! -- Ruby on Rails Developer http://sandip.sosblog.com http://funonrails.wordpress.com www.joshsoftware.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to...
2011 Aug 02
0
jrails plug in and rails 3 compatibility
Hi people Today I just want to make a simple question. Is Jrails 0.4.0 compatible with rails 3? -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to...
2009 Dec 01
12
Rails 2.3.5 - Cannot install plugin
I''m always get the message "Plugin not found: ["git://github.com/ aaronchi/jrails.git"]" when trying to install a rails plugin, even for SVN or GIT. After google search, some people suggest that replace "git://" with "http://" and add "/" at the end of the url. I tried and it still does not work. I used the ruby 1.9.1-p243 and rails 2.3....
2009 Jun 23
7
can't get remote_function working on rails 2.3.2
I''ve tried moving the code around in different ways, but so far I haven''t gotten remote_function to work for me (I''m using Rails 2.3.2 on my Mac). I want to make an AJAX call when I double-click a word on my page, and the Javascript function is being called when the ondblclick event is fired, but nothing happens when it gets to my the "new Ajax.Request" part
2007 Jun 08
1
Running test Rails app under JRuby and JBoss - experiences
...d in article) and published under JBoss 4.0.5 (on WinXP, 1GB RAM, Centrino Duo 1.8GHz) and latest JRuby 1.0 . Checking using a browser I can see, the application is running fine. Then I used ApacheBench to stress the application. Results seems to be great. For ### ab -n 1000 -c 20 http://localhost/jrails/company/index ... I can get up to 500req/sec . Its unbelievable for me. It leads me to think if there is any bug/problem I cant see. Can someone help to understand or do you have some results to compare? ------------------ Server Software: Apache-Coyote/1.1 Server Hostname: localho...
2010 Jun 16
4
firebug jQuery undefined message in rails app
In rails app, I add the following line of code in application.js and I get jQuery is not defined in firebug console. In application.html.erb, I have the following: <script type="text/javascript" src="../javascripts/application.js"></script> <script type="text/javascript" src="../javascripts/jquery-1.4.2.js"></script> and I installed
2010 Jul 09
2
Template is missing.... but it is there!
...over there I get this error: Template is missing Missing template serv_instit/shownames with {:handlers=>[:rxml, :builder, :erb, :rjs, :rhtml], :formats=>[:html], :locale=>[:en, :en]} in view paths "/home/luiz/work/sigad3/app/views", "/home/luiz/work/ sigad3/vendor/plugins/jrails/app/views", "/usr/lib/ruby/gems/1.8/gems/ devise-1.1.rc1/app/views" I tried insert these rows in the routes file, but it didn''t work: resources :serv_instits get "serv_instit/shownames" get "serv_instit/index" Could someone help me? Thank you...
2011 Nov 22
7
rake aborted with ruby on rails
...#39;'require ''rdoc/task'' (in RDoc 2.4.2+)'' instead. at /home/vishnu/.rvm/gems/ruby-1.8.7-p352-D9TI4Ms3gBgeRYYz77F+sQ@public.gmane.org/gems/rake-0.9.2.2/lib/rake/rdoctask.rb DEPRECATION WARNING: Rake tasks in vendor/plugins/exception_logger/tasks, vendor/plugins/jrails/tasks, vendor/plugins/jrails_auto_complete/tasks, and vendor/plugins/mongo_db_logger/tasks are deprecated. Use lib/tasks instead. (called from /home/vishnu/.rvm/gems/ruby-1.8.7-p352-D9TI4Ms3gBgeRYYz77F+sQ@public.gmane.org/gems/rails-2.3.11/lib/tasks/rails.rb:10) DEPRECATION WARNING: Kernel#retu...
2011 Oct 21
20
How to transform my html form into a rails 3 form
Hi, I have the following code working in a rails 3 view, but it is unfortunately not pure rails code! <% @filter1 = "tr.show1,tr.show2" %> <% @filter2 = "tr.show1" %> <% @filter3 = "tr.show2" %> <form> <p> <input type="checkbox" value=<%=@filter1%> onclick="$ (this).is('':checked'')
2008 Jan 14
0
Ajax Problem
Hi, I''m using Jquery on jrails. I used ajax to submit for one textbox. I want to put an image when ajax is calling. But i''m getting problem here. Please solve my problem.Here is the part of code <label>Prouct Category</label><br/> <%#= collection_select("product", "type_1" , pr...
2008 Dec 15
1
remote_function in IE with select input onchange
Here is the code: http://pastie.org/339967 Generated HTML: http://pastie.org/339969 This works great in Gecko and Webkit based browsers, but IE throws an error: "Object doesn''t support this property or method". Any clues? Thanks, Nik --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on
2010 Mar 11
0
jrails_auto_complete problem
Hi All, I know this is not the right place to ask, but I am sure many people would have faced this weird jrails_auto_complete hovering problem. You can see my code here: http://pastie.org/864655 Everything works fine when auto-completed element is selected correctly. But selecting an element from the auto_complete list by mouse is tough (it''s all messed up). Somebody posted a similar problem on st...
2010 Mar 30
0
highcharts-rails from github not successfully installing
...gin install... It installs a couple of files only and not all the required files, I presume, because when I run rake highcharts_rails:install I get the following: rake aborted! Don''t know how to build task ''highcharts_rails:install'' All it installed for me was: jquery.js jrails.js jquery-ui.js I noticed on the site http://github.com/loudpixel/highcharts-rails It has all this: file MIT-LICENSE February 08, 2010 Initial commit [abbottry] file README.md February 09, 2010 Added installation section to README [jsiarto] file Rakefile Febr...
2011 Apr 06
2
Puppetdashboard 1.1.0 spec file
...nd tries to copy some directories, that don''t exist anymore. I did some remodelling in the file, so it creates a rpm now, but I''m not sure whether my "fix" is the only change needed. my change: replace -------------------- for plugin in authlogic inherited_resources jrails object_daddy resources_controller timeline_fu will_paginate; do cp -p -r vendor/plugins/$plugin %{buildroot}%{_datadir}/%{name}/ vendor/plugins/$plugin done cp -p -r vendor/gems %{buildroot}%{_datadir}/%{name}/vendor cp -p -r vendor/rails %{buildroot}%{_datadir}/%{name}/vendor ----------------...
2011 Jan 05
16
Nicedit (rich text editor)
Hello, I''m trying to use Nicedit to improve my text_areas in some views of my project. I have installed jquery: ruby script/plugin install git://github.com/aaronchi/jrails.git nicEdit plugin: ruby script/plugin install git://github.com/sergio-fry/Simple-nicEdit.git Add js in layout: <%= javascript_include_tag ''nicEdit'', ''nicEditInit'' %> Use it in form <% form_for @item do |f| %> <%= f.rich_text_area :descriptio...
2008 Nov 18
5
What is the preferred "lightbox" plugin?
Hi all - I need to do an overlay with something that supports ajax/remote html. There''s lots of options and quite a few rails plugins. Some seem out of date however. Any suggestions on which one is "best" where "best" is defined as easy to implement, works in all browsers, supports ajax or remote html. Thanks! -philip