search for: update_javascripts

Displaying 14 results from an estimated 14 matches for "update_javascripts".

2006 Jan 26
5
rake update_javascripts on edge has no effect
I moved to the edge yesterday and ran rake update_javascripts to get the latest prototype stuff into my public directory. To my surprise, the old files were still there afterward. I just took a peek at javascripts.rake in vendor/rails/railties/lib/tasks. The update_javascripts task is copying .js files from Dir[RAILTIES_PATH + ''/html/javascrip...
2006 Jan 08
8
RaislsEdge - where to get latest javascripts ?
To play with RJS I just made a "rake freeze edge". But this copies only the libs into vendor/rails and any attempt of "rake update_javascripts" fails. But all the he required javascripts are there, at: BASEPATH/vendor/rails/actionpack/lib/action_view/helpers/javascripts/ Except of prototype, they seem to have no version number, so I am asking whether I should take those javascript files from there or checkout the whole rails trunk...
2006 Mar 14
15
in_place_editor_field -- values not clickable
Hallo -- I''ve just installed the latest stable version of rails, and am following the rails recipies book''s first recipie -- using in_place_editor_field. My problem is that the code throws no error, but the resulting fields are not editable -- the values just come up as text, rather than clickable-then-editable fields. Can anyone help shed any light on why this might be the
2006 Jun 17
2
RJS templates - newbie
I am trying to test drive RJS templates in Rails 1.2. Here is what I did: create table categories (name varchar(255) ); rails RJSTest cd RJSTest rake update_javascripts script/generate controller home index add script/generate model category Note: When I did a rake update_javascripts, I did not see any output. I configured database.yml to talk to mysql. Next I wrote controller/home_controller.rb: class HomeController < ApplicationController def index @ca...
2006 May 05
6
rake rails:update
This question has been asked before, but I am still can''t run rake rails:update. I get rake aborted! Don''t know how to build task ''rails:update'' My environment: FC4, Ruby 1.8.4, Rails 1.1 Any idea what to do? -------------- next part -------------- An HTML attachment was scrubbed... URL:
2005 Dec 25
2
scriptaculous-js-1.5.0
I''m not a JavaScript guy, so please help me out. It''s my understanding that Rails 1.0 includes scriptaculous-js-1.5.0 But it seems to contain portions of, but not the complete library. Rails 1.0 includes 4 .js files, scriptaculous-js-1.5.0 includes 8. What am I missing? > tmornini$ rails --version > Rails 1.0.0 > > tmornini$ rails test | grep
2006 Mar 04
29
Getting RJS / EgdeRails working
Hi, using Rails 1.0 on windows (without svn yet) I just wrote "rake freeze_edge". Are the RJS-templates already included then ? When I write "rake update_javascripts" I receive this error: svn: ''.'' is not a working copy Any tipps for a newbie on how to get the update done (if neccessary) ? thx Jan
2006 Jun 13
2
passing options for render :update
I''m having some issues trying to pass some options into render :update in my controller: render :update do |page| page[''mybox''].visual_effect( :scale, 200, {:scaleContent => false}) end this should just scale the box, and not the content, however, the content scales. I noticed that the following is produced:
2005 Dec 16
2
Edge Rails Instructions out of date?
hello all, I currently have Rails 1.0 installed, and was hoping to get the latest edge rails. Following the directions found at: http://wiki.rubyonrails.com/rails/pages/EdgeRails I ran the following command: rake freeze_edge The command ran without a problem. When I went to update my application, however, by running the following command: ruby
2006 Feb 14
2
Inline list editing with RJS: best practices
I wanted to get the community opinion on the best way to use partials and inline list (<li>) editing. I have a very common scenario where a list is rendered: --- index.rhtml --- <ul> <%= render :partial => ''item'', @collection => @items %> </ul> --- _item.rhtml (simplified) --- <li id="item_<%= item.id %>"> <div
2006 Apr 16
11
RJS templates not found
I am running Rails 1.10 and wanted to check out the RJS templates. Rails doesn''t seem to find them. I did issue the rake comment update_javascripts and that did not correct the problem. RJS is part of 1.1 right? Any ideas? Thanks. -- Posted via http://www.ruby-forum.com/.
2006 Jan 13
9
form_remote_tag breaks inside table
i guess its better form to keep form tags outside of table tags anyways, but it took a lot of trial and error to figure out thats why @params were no longer showing up after switching form_tag to form_remote_tag. not sure if this is a prototype ''bug'' or ''feature'' or what. but my next step was to switch to a seperate form tag for each row to reduce needless
2006 Jun 08
3
RJS wierdness - Content div display js code
...ntent in Firebug, the only difference I can see in the tutorial example is that the js code is wrapped in a try/catch block. Content-type is text/javascript, and I am including all the necessary js files (as evidenced by the fact that the ajax bits "work". I have also done rake ''update_javascripts''. Fresh eyes appreciated. jh [1] http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates -- James Hughes Web application developer Vancouver, BC "Developing a coherent political analysis is in many respects contingent upon an ability to connect one context to anothe...
2005 Dec 25
5
RJS not working?
I''ve been attempting to add a simple rjs ''delete'' method to my project. However, no matter what I try, it simply doesn''t work. Even the easy, easy stuff seems broken. (Yes, <%= javascript_include_tag :defaults %> is being included in the template.) For example, from: http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates VIEW: <h1