search for: viewpost

Displaying 8 results from an estimated 8 matches for "viewpost".

Did you mean: viewport
2008 May 28
3
Plug-in support for Camping Apps
# camping_plugin.rb # plug-in support for Camping Apps # require ''lib/camping_plugin'' # override R helper method to your liking :-) module Camping module PluginHelpers def R_with_module(c,*g) p,h=/\(.+?\)/,g.grep(Hash) g-=h raise "bad route" unless u = c.urls.find{|x| break x if x.scan(p).size == g.size &&
2006 Apr 03
4
Multiple file uploads - only one file object gets posted
All, Trying to upload multiple files. Form: <% index = 0 for @image in images do %> <TR> <TD> <%= @image.path.split(''/'').last[0..39] %>: <% if ((! @image.path.nil?) && (@image.path.length > 40)) %> <%= h("...") %> <% end %> </TD> <TD> <%=
2006 Feb 01
0
Fwd: Feb BYU RUG meeting 1 week notice
...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 a better handle on Ru...
2007 Jun 08
1
JRuby and tests
Using JRuby / ActiveRecord-JDBC / PostgreSQL 8.1 I get jruby --command rake test (in /Users/stevel/Publisher) rake aborted! Task not supported by ''jdbc'' Is it really the case that testing is not yet supported by ActiveRecord-JDBC or am I missing something obvious? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the
2006 Aug 16
1
how to update a collection_select from another
I have two collection_select in my list.rhtml: <%= collection_select (:region, :id, @regionall, :id, :title,html_options={:onChange => "new Ajax.Updater(''related_provinces'',''/categories/related_provinces/" + "?id=''+this[this.selectedIndex].value, {asynchronous:true, evalScripts:true});"}) %><br> <%= render :partial =>
2009 Mar 16
0
[OT] Debian now has a new section 'gnu-r'
Joerg Jaspert, one of the ftpmasters / archive maintainers within Debian, today posted a new list of 'Sections' to debian-devel-announce (see eg here http://www.nabble.com/forum/ViewPost.jtp?post=22524830&framed=y ) This now includes a new Section: gnu-r Everything about GNU R, a statistical computation and graphics system which gives R just about the same footing Perl and Python had -- a new section in the archive (and Rub...
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 =>
2005 May 13
45
Why Wouldn't I Use Rails
I am starting a large project and still selecting what framework to use. Rather than ask brand x what is wrong with brand y, I am more interested in self confession. Why would I *not* want to use Rails (compared to Iowa and Nitro). I posted a synopsis of the project to ruby-talk but will repost it here if anyone wants it. xev