similar to: Ruby on Rails Searchable and Annotatable Docs

Displaying 20 results from an estimated 4000 matches similar to: "Ruby on Rails Searchable and Annotatable Docs"

2006 May 28
9
Railsmanual.org
Did anyone else catch the redesign? I don''t know who''s responsible, but it''s lookin better! Good job... -- seth at subimage interactive http://www.subimage.com/sublog/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060528/f9f92618/attachment.html
2006 May 22
3
Best Rails API source
Folks, Is api.rubyonrails.com the best source for RoR API info? Do any other formats exist, that are easier to navigate/search? Thanks, Marcus Marcus Blankenship Technology Services - Software Group JELD-WEN, inc. Information Systems 541-882-3451 x 2558 marcusb@jeld-wen.com RELIABILITY for real life* This correspondence is for the named person''s use only. It may contain
2006 Feb 22
3
ri docs for Rails?
I cant find ri docs for any of the Rails classes. Do I have to generate them? I do see RDoc files. john
2006 Jul 27
5
Calculate methods on attr_accessor objects
Is it possible to use the calculate methods (sum, etc.) on attr_accessor attributes? Ie: Class Item < ActiveRecord::Base attr_accessor :total_cost def total_cost @total_cost = self.cost_unit * self.amount end calling Item.sum(:total_cost) or Item.sum(''total_cost'') both return a unknown column ''total_cost'' mysql error. I thought that active
2006 Jul 09
5
Tip: searchable Rails api docs from within RadRails!
Just a tip for those of you using RadRails. If you install the new rubygems 0.9.0, you can type "gem rdoc --all --ri" at the command line. Then, open up RadRails, go to Window->Preferences->Ruby->Ri/rdoc and change your ri path to the path to gemri (which gemri). Finally, open up your RI Eclipse view and voila...indexed, searchable rails api docs at your finger tips! This
2013 Jul 23
3
[LLVMdev] Vector DAG Patterns
Hi All, Been having a problem constructing a suitable pattern to represent some vector operations in the DAG. Stuff like andx/orx operations where elements of a vector are anded/ored together. My approach thus far has been to extract the sub elements of the vector and and/or those elements. This is ok for 4 vectors of i32s, but becomes cumbersome for v16i8s. Example instruction: andx $dst
2013 Jul 26
0
[LLVMdev] Vector DAG Patterns
To elaborate, it is not only cumbersome writing these patterns for vectors of 16 characters (v16i8), it does not work. When I compile with this pattern for an andx operation on v16i8: /[(set RC:$dst,// // (and (i8 (vector_extract(vt VC:$src), 0 ) ), // // (and (i8 (vector_extract(vt VC:$src), 1 ) ),// // (and (i8 (vector_extract(vt VC:$src), 2 ) ),// ////(and (i8 (vector_extract(vt
2006 Jun 05
5
adding habtm through migrations
Hello, I''m stuck, I''ve got a model Product and would like to add a new model called Category. Furthermore, I want to set up a many2many relationship between the mentioned models. the problem is that I do not know how to set the primary key in the categories_products table. this is what I''ve got in my migration file: create_table :categories do |t| t.column :name,
2006 May 23
8
ad-hoc query
How do you run an ad-hoc query that does not belong in any model? I thought it was something like ActiveRecord::connection.find("my query..."), but I can''t seem to find the documentation on it. I know I''ve seen it somewhere before, though. thanks, Jeff -- Posted via http://www.ruby-forum.com/.
2010 Feb 04
1
Changing fonts of axis labels in Histogram() function
Dear All I am using the histogram() function to plot two subsets from my data on the same output display, i.e. there are two histogram plots My code is: histogram( ~ Age | Date, layout = c(1, 2), xlab = "Age (years)", strip = FALSE, strip.left = TRUE, col = "black", border = "white", cex.axis = 1.1, family = "serif", cex.lab =
2006 Jun 14
13
A good tutorial
Are there any other tutorial than "Agile Web Development with Rails" that you can suggest? So far I can''t say that RoR has been easy to learn. :-) -- Posted via http://www.ruby-forum.com/.
2006 Jun 16
4
Unit test and get request with a URL
I''m tyring to write a unit test that uses a get() method to simulate a get request in my functional test. However, get wants an action, and I have a URL. I''m trying to redirect to a URL the user tried to hit before logging in. After they login I want to go back to the URL they originally tried. I can''t find the get() method code in the help or otherwise. I
2007 Aug 10
3
Using rcov and ouput to screen
I''d like to output my rcov data to the screen in ascii instead of html...is that possible using the rake spec:rcov command? Also, is there somewhere that will allow me to search the mail archives...I''m pretty sure someone else has asked similar questions. Thanks for the help. Mike B. ---------------------------------------------------------------- This message was sent
2007 Aug 01
1
new user question on dataframe comparisons and plots
I'm coming from the scipy community and have been using R on and for the past week or so. I'm still feeling out the language structure, but so far so good. I apologize in advance if I pose any obvious questions, due to my current lack of diction when searching for my issue, or recognizing it if I did see it. Question 1, plots: I have a data frame with 4 type factor columns, also in the
2008 Jun 05
5
[LLVMdev] Using annotation attributes
Hi, I'm trying to annotate certain functions in C code, and do something with these functions in my LLVM pass. I annotate the C code like this: int __attribute__((annotate("annot"))) function() { This nicely gets added to the LLVM bitcode in an @llvm.global.annotations global. Now I had hoped that it'd be easy to extract a list of functions annotated with my annotation
2010 Aug 13
10
:limit text mysql
I have a rails 3.rc app that I''m developing. I have a text entry in one my models that can sometimes be quite big. I tried setting :limit => 4294967296 on the text column in my migration file but this doesn''t seem to have any effect. The column is till created as a TEXT column rather than MEDIUMTEXT or LONGTEXT. Does anyone have any idea why this might be happening? Is there
2006 Mar 19
1
Finding RDoc templates
Hi all, I would like to change my RDoc template to something similar to the RDocs on this site: http://caboo.se/doc.html Does any one know where this template (or similar) or other RDoc templates are available? I tried googling for rdoc templates for a long time and came up with nadda. Thanks in advance.
2009 Mar 06
0
[LLVMdev] Inserting annotations
Hi, As far as I know, Instruction class does not inherit "Annotable" Class. Only Function inherits annotable according to the documentation of annotable class. What you are asking would require adding annotations at instruction level, which does not seem to be possible. You can maintain external maps between instructions and your annotations, --Kapil On Thu, Mar 5, 2009 at 7:17 PM,
2006 Sep 26
2
[LLVMdev] Name of Function's original module during link-time optimization
Hi, Chris Lattner wrote: > I'd suggest writing a little pass that strips out debug intrinsics. > OK, I did this and it works (the strange seg fault also disappears after all declared debug variables are gone)! In a first phase, all intrinsic instructions are discarded after extracting their data into annotations attached to the relevant Function. Then, a second phase wipes out the
2008 Jun 25
0
[LLVMdev] Using annotation attributes
Hi all, I've also been developing an interest in using IR annotations for my compiler. Some discussion with Bart turns out that he has implemented some code to parse the llvm.globals.annotations array, but in no way integrated or reusable. We've spent some thought about how this could be done properly, which I will share here. Firstly, however, I was wondering about the format of the