similar to: Re: keeping plugins up to date [was: template choice error (layout.rb)]

Displaying 20 results from an estimated 9000 matches similar to: "Re: keeping plugins up to date [was: template choice error (layout.rb)]"

2006 Feb 06
1
template choice error (layout.rb)
Hey, I installed the rjs plugin yesterday and started using it for one set of views. Today I notice that in an entirely separate controller/template I''m seeing this error: TypeError (can''t dup NilClass): /vendor/plugins/javascript_generator_templates/lib/add_rjs_to_action_controller.rb:41:in `dup''
2006 Feb 07
3
in place edit, save on blur
I thought I''d seen some discussion on this, but can''t find it. I have a text area that I''d like to save on blur unless the user clicks cancel. Anyone got a nice example of this? It''s non-obvious to me how I force the submit via javascript. Thanks, pt. -- Parker Thompson http://www.parkert.com/ 510.541.0125
2006 Jan 24
2
webrick and in_place_editor_field
I''m having a strange problem with webrick spinning forever. I have a view ''list'' that renders a collection: <%= render :partial => ''item'', :collection => @items %> The item partial looks like so: <div id="item_<%= item.id %>"> ... <div id="price"> <%= in_place_editor_field :item, :price
2006 Jan 25
2
inserting column headings between grouped rows
Hello all, I have what is conceptually a pretty simple poblem, but can''t think of an obvious solution. I have a group of objects (@items), that I wish to render as rows. Items have dates, and I wish to group them by that date, inserting a header row each time the date changes e.g.: header row row 11/11/2004 row 11/11/2004 header row row 11/23/2004 I''m currently
2006 Jan 13
1
missing Enum class (windows install)
Hey, mac died this week (launch is Monday), trying to deal by getting Windows set up for development. I''ve got everything up and running, but when I try to hit my app I get an "unitialized contstant Enum error". Sure enough, enum.rb doesn''t exist (according to windows search) on the machine. Now I''m trying to figure out how to fix this. I installed Ruby by
2006 Jun 13
21
RJS Templates for Rails
I''m happy to announce the availability of RJS Templates for Rails published by O''Reilly. The book covers all aspects and features of RJS that are included in Rails 1.1. It also walks through a few examples, debugging with FireBug, and finishes off with some reference material. The book is 56 pages and is available in PDF format. I''m really happy with how the book has
2006 Jan 28
1
like clause for find
I''ve done a bit of searching, but got too much noise and no perceivable signal. So, I apologize if I''m just missing this in the docs, seems like it should be easy. I''d like to provide some basic search functionality in my app by allowing the user to enter in some text and generating a query like so: SELECT * FROM things WHERE field LIKE ''%input''%;
2006 Apr 14
18
RJS Templates & Safari?
Hello, I tried Cody Fauser RJS tutorial (http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates) on my railsplayground dev site and got it to work when using Firefox, but when I tried it on Safari, nothing happens. Then I tried this tutorial - http://rewrite.rickbradley.com/articles/2006/02/06/rjs-templates Similarly, it works fine on Firefox... but with Safari the list is not
2006 Mar 14
7
Starting with RJS - not working
Hi, I''m trying to work with RJS and folowed Cody Fauser''s tutorial (http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates) I''ve started by creating a new rails applications and executing rake freeze_edge rake rails:update:javascripts rake rails:update:scripts After that I''ve created a controller: class DtestController < ApplicationController
2006 Jun 08
3
RJS wierdness - Content div display js code
Hi, I have a link_to_remote name ''Show notes'', which calls an action that uses this RJS template: page.replace "notes_remote", :partial => "notes/hide_notes_link" page.insert_html :top, "notes_list", :template => "notes/list" page.visual_effect :highlight, ''notes_list'', :duration => 3 Works great. The
2006 May 02
0
RE: Rails Digest, Vol 20, Issue 39
All assumptions aside, "rectest" and "salt" are usernames not databases/schemas according to the pasted config. If they were in fact different databases/schemas, this problem could never have happened. While different database brands may have tricks for ways to handle users and what they perceive as a database/schema, the fact remains that if 2 literally separate databases
2006 Apr 11
12
RJS
I am trying to use RJS as shown in this tutorial : http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates However it does not seem to work. I am not getting any excpetions in the logs. Here is what the logs say : Parameters: {"action"=>"add", "controller"=>"homepage"} Rendering homepage/add The homepage/add is named add.rjs I know
2006 Jun 05
0
testing actionmailer from a controller
Hello, Our application sends e-mail using a number of templates based on the situation. We would like to test that the appropriate template is getting rendered based on the controller state. assert_template would work to test which template is being rendered to the browser. But this doesn''t tell us which template was used to send the e-mail. Anyone have a solution to this problem?
2006 Mar 21
0
Job - San Francisco
Tom (below) is looking for 1-2 programmers in SF that know rails or have a strong background in web & OO development and want to learn. ---------- Forwarded message ---------- "thomaspaynejr@yahoo.com" has forwarded you this craigslist.org posting. Please see below for more information. ________________________________ Do you like wine? C''mon, of course you do! We are
2005 Dec 24
0
acts_as_taggable - adding users and normalizing tags
Hey all, I''m wondering how people are using acts_as_taggable. Two things I''d like to do that aren''t supported out of the box are tag normalization and user attribution. I can''t imagine I''m the first to think about doing this. >From a schema perspective these things both seem simple, just put the normalized tag in the tags table, and have a join
2006 Apr 28
0
RE: Rails Digest, Vol 19, Issue 784
I am having a bit of trouble with the error. I hava a product and category table and wanting to display the categories in a drop down list. Below is the error I get. Any suggestion on how I can fix this. undefined method `name'' for #<Category:0x3652448> 9: <select name="product[category_id]"> 10: <% @categories.each do |category| %> 11:
2005 Dec 30
6
Unable to get the domain in my routes.rb to map custom route tables per domain
I have tried all night trying to find a way to get the host name which is currently being used within my routes.rb file to do some case/when switching for specific domains such as this cgi = ActionController::CgiRequest.new(CGI.new) case cgi.domain(1) when /www/ map.connect '''', :controller => ''public'', :action => ''index'' when
2006 Mar 29
2
vim syntax highlighting of rjs templates
Are there config files for vim that offer syntax highlighting of rjs templates? Charlie Bowman http://www.recentrambles.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060329/486c9d84/attachment.html
2006 Feb 18
2
Effect queues with RJS templates and scriptaculous
Hi. I was wondering if it''s possible to combine effects for individual elements with RJS templates. I notice that scriptaculous has support for a concept called effect queues (http://www.railsdevelopment.com/2006/01/15/effectqueue/). Is there anyway to use these queues from rjs?
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