similar to: Ready to call this a bug

Displaying 20 results from an estimated 5000 matches similar to: "Ready to call this a bug"

2006 Jul 14
3
Rails newbie: How does the submit_tag work?
I would appreciate any and all input. The Agile book is not useful in this context. :o( As near as I can tell, it doesn''t work at all. I would expect that clicking on the [Next Question] button in the browser would fire the next_question method in the current controller. Instead, it (apparently) does nothing. The tag in question <%= submit_tag ''Next
2006 Mar 08
4
ajax with tables
There may be an easy solution, but I just can''t seem to get this to work... I''m using tables for part of my site, as they contain a lot of rows and columns full of financial data, so just working with div''s and dd''s... etc, won''t do. My table structure is pretty simple, as follows: ================= <table id="items"> <tr>
2005 Sep 14
13
table sorting/manipulation library?
I have a library I''ve developed that I believe is the most flexible and useful table sorting/striping/row-selecting library around. Big features: Single and multiple-level sort Arbitrary sort criteria (IP address, date, etc.) Works with table headers that are > 1 row or column large Stripe tables and/or enable row selecting Row selecting supports drag-select and SHIFT-click No extra
2006 Aug 03
1
OT: Tables and Rails code
This might be off topic, not entirely sure. Basically I''ve created a table to return data and it seems that the column headings repeat along with the entries. So perhaps it''s where I''m placing the code and not so much my HTML. Ideas, solutions appreciated: <h1> Current job openings</h1> <% for position in @positions -%> <div
2006 Jul 18
6
RJS - Insert at top of table?
Quick question regarding RJS and inserting to the top of a table. Here''s the view I''m working with: <table id="links-list"> <tr> <th>Display title</th> <th>URL</th> <th>Description</th> <th>Category</th> </tr> <% for link in @links %> <tr id="link-<%= h link.id
2005 Dec 18
2
Create dynamic search with table rows
I''m trying to create a dynamic search function to filter the list results using form_remote_tag. I need this to work with a table data output. So it would update the partial template of table rows. I tried wrapping the table rows in a div tag but that wouldn''t update the table properly. Any help on this would be greatly appreciated. Here is my code: <%=
2006 Feb 02
3
dynamic addition of table rows
Hi, I have a table laid out something like this: <table> <thead> <tr> <th>col 1</th> <th>col 2</th> </tr> </thead> <tbody id="tablebody"> <tr> <td>moo</td> <td>moo</td> </tr> <tr> <td>moo</td> <td>moo</td> </tr>
2006 Apr 07
3
RJS removing content of div, but not div itself
Hi, I''m creating a list of ingredients on a page. When the user clicks the ''Add Ingredient'' button a record gets added to the db and the ingredient gets added to the page. On the page, each record is represented by a <div> with three <span>s inside. One of the <span>s has a link_to_remote to ''delete'' the ingredient. When the link
2006 Mar 09
1
Rails File Upload w/ Ajax Update?
I''m trying to upload a file, display the upload progress and then update a table with the newly uploaded file. Is there a way to specify a :success handler for form_tag_with_upload_progress such that I have access to the request.response data (in the way I can with link_to_remote)? The :finish JavaScript is being executed but because there is no request object, the table
2006 Oct 19
2
OT :JavascriptSortableTables
I found this on the rails wiki http://www.kryogenix.org/code/browser/sorttable/ Looked farily easy, class and id for the table. Dropped the JS in to application.js. Problem is it''s putting the sort link on the first row of data and not on <thead> Anyone know how to fix it ? Here''s a bit of my table: <table class="sortable" id="poso">
2006 Feb 13
3
Insertion.top & tables
I have had trouble making Insertion.top work with tables I would like to do something like <table> <div = "newentry"> <tr><td> First entry</td></tr> <tr><td> Second entry</td></tr> </div> </table> so that Insertion.top inserts the new row above the first entry. So far this has not worked. Has anyone else tried
2006 Feb 24
1
Help a n00b?
So I''m trying to do that hot new thing with AJAXy forms: http://idiet.toasterwaffles.com/foods/list Here''s the relevant code in list.rhtml (for the form portion) <tbody> <%= render_collection_of_partials "list_stripes", @foods %> </tbody> <tfoot> <tr id="addFood"><%= form_remote_tag( :html =>
2006 Aug 01
3
paginate, search, sort with ajax problem
hello I hope somebody can help me figure this out. found this great tutorial at http://dev.nozav.org/rails_ajax_table.html. got it working except for one thing. I can''t seem to make the pagination work. The link_to_remote defined in the helper is pointing to the wrong url. I have set up things like so: defined a search method in de project_controller located in apps/admin/project.
2007 Oct 19
14
Agile Web Development Book, need a bit of help
I''m working my way through the book Agile Web Development with Rails, and I am in the section where the book has me creating a display_cart method and the associated view. When I copied the code from the book into the view, it threw this error. If anyone could give me some hints where I should be looking I''d appreciate it. NoMethodError in Store#display_cart Showing
2006 Apr 21
13
Sorttable.js
I have come across this neat Javascript table sorter at http://kryogenix.org/code/browser/sorttable/ It seems straigh forward to use but i cant get it to work. I have included in the head <script src="javascripts/sorttable.js" type="text/javascript"></script> In the View <table class="sortable" id="anyid"> <thead>
2006 May 06
5
form_remote_tag not posting data
I''m trying to use the form_remote_tag for the first time.. Here is my code: <%= form_remote_tag(:url => { :action => ''add'' } ) %> <td size=''100''><%= text_field_tag ''name'' %></td> <td size=''200''><%= text_field_tag ''email'' %></td> <td
2005 Aug 22
8
Observing changes to a text field
I''ve noticed that using several TimedObservers (prototype.js) on a page to watch for changes to text fields (haven''t tried forms) can have a non-negligible effect on the CPU cycles used by the browser process. Nothing dramatic, to be sure, but unnecessary. Autocompleter.Base (controls.js) follows a smarter strategy to watch for changes. Currently this functionality is tied
2006 Feb 06
4
Memory Issue while looping through CSV file
I have a site on a shared host at TextDrive. I have an import process that imports a CSV file into the database using a ruby script executed using script/runner. TextDrive has a memory limit which I am hitting and the process gets killed. I get through to about 400 records before it dies. I guess each time I instantate a new object for each record I am using more memory but thought I was using
2006 Aug 14
4
Updating a table with Ajax
I''ve been banging my head against the wall trying to update a table (add/delete rows) using Ajax. It seems simple enough but just doesn''t work for me. I can get it to work using DIVs instead of a table, but doing the layout with DIVs is much more cumbersome and I know it works for others with a table (though I haven''t been able to find an exact example code anywhere).
2009 Sep 05
5
Filling Wx::ListCtrl with contents
Hi all, I''ve got a question concerning ListCtrl_virtual of wxRuby since I see no way filling the list with dynamic contents. I''m new to Ruby so I maybe have to apologise for my request. The problem is, that I have to define the on_get_item_text(item, col) function. There I would like to use the item and col variables to read data from a two-dimensional array. My very problem