search for: meal_names

Displaying 4 results from an estimated 4 matches for "meal_names".

2006 Apr 09
4
Best RJS process for what I''m trying to do...
...;m now pulling my hair out. Thanks in advance for taking any time to look at this. It''s much appreciated. Now, my problem is my RJS is working but it''s not inserting how I want it to insert. I have a partial I''m rendering in my view that looks like this: <ul id="meal_names">id="meal_names"> <% @meal_names.each do |item| -%> <li><b><%= item.name %></b> <font size="0"><%= link_to "delete", { :controller => ''meal_names'', :action => ''destroy'', :id =...
2006 Mar 03
1
rjs isn''t update_page problems
i have a list of, for example, meal_names. Basically, I can submit a name and the name I add shows up in the list.I had this working wehn i created an actual add.rjs template for it. So feeling good about my self, I attempted to move it all to the controller and use some update_page goodness. Now it the ajax middle doesn''t happen....
2006 Mar 03
0
re: rjs update_page problems
my apologies for my previous butchery of the english language... i have a list of, for example, meal_names. Basically, I can submit a name and the name I add shows up in the list.I had this working when i created an actual add.rjs template for it. So, feeling good about my self, I attempted to move it all to the controller and use some update_page goodness. Now the ajaxy magic doesn''t happen. I...
2006 Feb 15
0
MySql adapter error
...s weird error on every page I try to hit. If anyone give give me any insight into how I messed this up or how to fix, it would be much appreciated. The error is Mysql::Error: #42S22Unknown column ''joinsincludeconditions'' in ''where clause'': SELECT COUNT(*) FROM meal_names WHERE (joinsincludeconditions) If I take the "rails" folder out of my vendor folder, I don''t get the error but just a blank screen. Here''s the rest of the error (well, some of it anyway): c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_...