search for: artima

Displaying 20 results from an estimated 23 matches for "artima".

Did you mean: arima
2006 Aug 04
14
Printing an Order
Can Rails be used for printing an order in a store application that has arrived? -- Posted via http://www.ruby-forum.com/.
2006 May 24
2
PDF Writing without Cached File
I''m researching generating PDF files via RoR. I see there are packages available to do this. One such package is the PDF-Writer. The examples I saw for this package save the PDF to a file. Is there a way I can output the PDF on-the-fly to the browser rather than having a temporary PDF file? I just can''t have these files laying around since they contain sensitive
2006 Jan 02
3
Pdf::Writer and #image
...ms getting Pdf::Writer image insertion. pdf.image "/path/to/images/logo.jpg" is firing "JPEG marker not found!" Originally created the RGB (8 bit) JPEG in photoshop. After the above, I''ve exported with an alternate tool using (OSX) preview. This tutorial http://www.artima.com/rubycs/articles/pdf_writer2.html says that CMYK or RGB encoding is needed - so that''s not the problem. Other than that requirement, are there others? Optionally I tried PNG, but this resulted in a nil.unpack error (''The error occured while evaluating nil.unpack'')...
2005 Dec 31
9
Railspdf plugin problem
Hi, For my app i need to generate pdf file for reports. I am trying the railspdf plugin, got it installed using command: ruby script/plugin install svn://rubyforge.org//var/svn/railspdfplugin/railspdf/ The problem is that when i re-started my webrick it won''t run, with errors messages like this (shown only first message): *D:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5
2006 Jul 28
3
forms to pdf generation
hello Everyone, would like to search this subject in the forms, but since search is disabled I am posting this one. Any insight is much appreciated. I am a newbie to ROR. Wondering what it takes to take a form that is filled by a user and generate a PDF on the fly for his to save or print. I am aware of some PDF libraries for PHP to accomplish this, but not quite sure how to get this done
2006 Mar 20
1
Rails CGI calls
I apologise in advance for this newbie question but I am still waiting to receive some books on ruby & rails and I can''t find the solution online. I am learning rails, (and since rails is the only thing I have used that is based on ruby I am also learning ruby,) by developing a small application for work to index and serve up images from a document store. The documents are
2006 Feb 01
0
Fwd: Feb BYU RUG meeting 1 week notice
...ng Ruby"), and has his hands in a number of exciting Ruby (and Rails) projects: ZenTest, Ruby2C, ruby-growl, ParseTree, Borges, and the Rails Log Analyzer. He currently works for the Robot Co-op, helping build 43 Things. Eric was recently mentioned in Bruce Eckel''s blog (http://www.artima.com/weblogs/viewpost.jsp?thread=146091). Bruce said that Eric has "done some very immersive work with the language. [He] live[s] and breathe[s] this stuff, which is exactly what I needed to get some actual insights into Ruby." This should be an awesome meeting for those who want to get...
2006 Jan 18
1
The 30 year old *Ruby* Virgin
All, Apologies for the simplicity of the problem but getting started with InstantRails. Does anyone have any experience of setup in this way? Get to the: * Click on the Start SCGI button. * Once the SCGI server says that it is listening to 127.0.0.1:9999, open our browser and go to: www.mycookbook.com Unfortunately once I press the button, a DOS cmd window pops up and
2007 Sep 27
0
Scattered I/O
Hi all, I was just reading this article: http://www.artima.com/cppsource/scattered_io.html It made me wonder if we could use ReadFileScatter() and WriteFileGather() to optimize I/O on MS Windows. Any thoughts? Regards, Dan This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this commu...
2006 May 31
0
Ruby on Rails Workshop in Kansas City !
...his hobby projects. He has been dabbling with the Ruby on Rails framework since its inception, although professionally only since early this year. He is actively involved in various open source projects using Ruby and is the co-editor of the online zine "Ruby Code & Style" (http://www.artima.com/rubycs). He is the technical editor of two forthcoming titles being published by Sams Publishing. Shashank is also the President of Reevik, Inc. Note: The facility does _not_ have computers or Internet connection. Please bring your own laptops, if possible. CD full of Win...
2006 Jul 26
1
Something is wrong with this peice of code...
...itle>The Yay Area Online Book Store</title> <%= stylesheet_link_tag "depot", :media => "all" %> <%= javascript_include_tag :defaults %> </head> <body id= "store"> <div id= "banner"> <img src="http://www.artima.com/images/pragmatic.jpg"/> <%= @page_title || "Bo Rizzle''s bookshelf" %> </div> <div id="columns"> <div id="side"> <div id= "cart" --------------> <% if @cart.items.empty? %> style=&...
2006 May 24
4
pdf on the fly
In my rails app I need to create pdf reports on the fly. I have installed railspdf, wich is working fine. But, how can I create tables and paragraphs and stuff? Can I mimic an .rhtml file (using <% for ...%> etc? Or is it wise to use Ruby::PDF directly? Is there anyone out there with experience in this, and who is willing to share his findings? Thx -- Posted via
2010 Jan 21
5
Inheritance versus inclusion
Does anyone have a good resource for describing the differences between including and inheriting classes? VR -pjh -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more
2006 Jan 14
19
Stopping WEBrick?
Is there any way to request WEBrick to shutdown besides hitting CTRL-C at the console? I''m looking for, perhaps, a script/shutdown command, or perhaps a special URL that will request WEBrick to die. It can be a command run in a different shell, or, as I said, a special URL. Anyone? Tom Harris Cisco Systems -- Posted via http://www.ruby-forum.com/.
2005 Dec 30
6
Rails in High School Curriculum?
Hi folks, I''m working with a local high school in the Portland, OR area on the subject of computer science curriculum. We are thinking of introducing a class in web development and I think Rails would be a perfect vehicle. I''ve done some searching on the web but haven''t found any suggestion of HS curriculum for Rails. Any pointers or suggestions? Thanks, ---
2004 Feb 17
10
How to write efficient R code
I have been lurking in this list a while and searching in the archives to find out how one learns to write fast R code. One solution seems to be to write part of the code not in R but in C. However after finding a benchmark article (http://www.sciviews.org/other/benchmark.htm) I have been more interested in making the R code itself more efficient. I would like to find more info about this. I have
2006 Jan 16
11
Plans to intigrate ObjectGraph in to Rails
Are there any plans to move the schema definition from migrations to the model, where it should be? Like og does, which I think is used by the ruby Nitro framework... ObjectGraph: http://www.rubygarden.org/index.cgi/Libraries/og_tutorial.rdoc Example code: [code] class Post property :title, String, :sql => ''VARCHAR2(32) NOT NULL'' property :body, String property
2006 Jun 01
8
[Pdf::Witer]
Is anyone using Pdf::Writer? I don know how to insert html tags in a pdf using Pdf::Writer, except <b> and <i> I think an idea is with Pdf::TechBook but i hadn''t seen any example till now. -- Cheers, ioana k&a http://boulangerie.wordpress.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Jan 14
7
Application Design
Hi Railsers, How do you design your applications? Do you start coding HTML? Start with the controllers/models? Start in a program like photoshop/gimp/illustrator/inkscape? I start in inkscape, it''s a SVG editor. I sketch all the views of my application, and then I create the views that belong to one controller in RHTML. After that, I do the models/controller, and move on to the
2007 Feb 22
7
We can''t 100% remove our unit tests from the database, can we?
I hope this isn''t too rambly. This is sort of a brain dump of a subject I''ve been thinking about for months as I''ve used RSpec. Let''s say we''ve got a simple query method, that will find all the users in the DB older than 18. Our model could look like class User < ActiveRecord::Base def self.find_older_than(age) find :all, :conditions =>