similar to: Rails Reference 1.1.2

Displaying 20 results from an estimated 20000 matches similar to: "Rails Reference 1.1.2"

2006 Oct 18
6
Win32 release coming?
Hi there what''s the status of the 0.13.4 release on Windows? I want to wrap up a project in the next 2 weeks and I''d wait for the new release if it''s coming in that timeframe. Otherwise I''d stay with the current windows version. thanks Jens-Christian Fischer
2011 Oct 18
8
rspec 1.3.2, Rails 2.3.14 - plugins not loading
Hi there I have a weird situation. I have inherited a project in Rails 1.2.3 that has been upgraded to Rails 2.3.14 (and is running). I have installed Cucumber and Rspec to start to write features/tests for the new code that needs to be written. In my Gemfile, these Gems are loaded: group :test do gem ''rspec-rails'', ''~> 1.3.4'', :require =>
2006 Jan 10
3
multiple items on 1 column
Hello, I am trying to put multiple items in one column and can''t seem to get the syntax right. These are images and the image url''s are being pulled from a database. It seems that <tr></tr> is the trigger to go onto the next item. Here is the code from the controller: def list @items = Item.find_all end Here is the code from list.rhtml file: <%
2006 Jan 09
2
catch id from form and copy between objects
Hi all, Not completely sure what I''m doing, but I need to get data from another table based on and id. Below is some breakpointer output: irb> @params => {"project"=>{"project_description"=>"point2", "project_name"=>"break2"}, "action"=>"create_project",
2007 Sep 17
2
Drb - shared app with multiple private databases - howto?
Hello, I''ve been trying to get my head around ferret and the one thing that stumps me is how I might use Drb on a dedicated server with multiple clients using the SAME application but each with their own private database and other file assets (in an uploads directory within the app) Thank you for any suggestions, pointer etc. Also I''d be very interested in hearing from those
2006 Jan 12
2
Rails 1.0 gem installation - rake version not supported on
gem install rails-1.0.0 the above commands gives an error saying it requires rake 0.6? what should be done here ? - Thanks - Nirav -- Posted via http://www.ruby-forum.com/.
2003 Jan 24
4
new function: showcolors {base}
I propose to add a function that allows to display colors selected by a text pattern or by color vectors in a plot. Wolfram Fischer #--- showcolors.R showcolors <- function( col = "red" , index = NULL , pie = TRUE , lwd = 6 , cex = 1.0 , main = NULL , sub = NULL , ... ){ n.colors <- length( col ) if( n.colors > 1 ){ main <- deparse( substitute( col ) )
2005 Oct 15
14
OT: Anyone Using a Time Logger?
I have multiple projects and it''s important for me to track time by client and by project. There''s a Windows application that allows me to do this, but I''m looking for a cross-platform solution. I looked at ConsultComm but it wouldn''t install on my Mac. Rather than rewriting what seems like a commonly-required app, I wondered if anyone else had something they
2007 Jul 06
3
stubbing helper methods for View specs
Hi there I have several view specs, that include the following snippet in their "before" block to stub the methods by acts_as_authenticated before :each do @u = mock_model(User) @u.should_receive(:name).and_return("Hans Muster") template.should_receive(:logged_in?).and_return(true) template.should_receive(:current_user).and_return(@u) end this
2006 Sep 08
4
Namespace collions "cluster"
Hi there I have a rails application that has been deployed with mongrel_cluster. My application contains a model "Cluster.rb" and now I run into namespacing problems when accessing the Cluster class (the Mongrel:Cluster module get''s to try to resolve method calls which leads to a embarrassing NoMethodFound errors) I have started renaming my model, but I wonder what the
2005 Aug 04
1
Pagination and :include (eager associations)
I have tried to use eager association with pagination, but the :include option is not supported: Here''s the one-line pagination call without :include @link_pages, @links = paginate :link, :per_page => 10, :order_by => sort_clause and here the work around, using the "classic" method # @link_pages = Paginator.new self, Link.count, 10,
2002 May 03
2
sub() of matrix returns a vector and not a matrix
Is there a simple possibility to become directly a matrix from a call of sub() on a matrix? --------- START OF LOGFILE ---------------- # R 1.4.1 > a <- matrix( letters[1:6], 2, 3 ) # a is a matrix > print( a ) [,1] [,2] [,3] [1,] "a" "c" "e" [2,] "b" "d" "f" > b <- sub( '(.)', '-\\1-', a )
2006 Jan 10
13
# of entrys in different months
right now im writing a weblog as my first project in rails. Most tings seems to be working great :), but there is (a least) one thing left i can''t figure out how to do. As most weblogs i would like to have an archive, whick looks like this: January 2006 (42) December 2005 (60) November 2005 (2) October 2005 (101) September 2005 (4) August 2005 (2) July 2005 (101010) where (x) is the
2007 Feb 23
11
Problems getting mongrel service working
Hello list! I have mongrel service 0.1.0 working on my current production machine. Upgrading to a new server and also moving to mongrel service 0.3.1 has not worked yet. I am hoping someone will have an idea as to why. I have mongrel installed properly (I think): C:\rails\igacc>gem list --local *** LOCAL GEMS *** ... mongrel (1.0.1) A small fast HTTP library and server that runs
2006 May 12
3
file_column error
Hmm, I''m using file_column and going by this tutorial, the files upload ok and I can see the fields updated in the database, but I am getting this error: "Trying to access file_column, but primary key got lost." Thanks in advance -- Posted via http://www.ruby-forum.com/.
2006 Mar 08
1
question about options_for_select array
Hi! If i have something like this used to create select tag: options = [["Dollar", "$"], ["Kroner", "DKK"]] and later read value from the database and get "DKK", what is the easiest way to get "Kroner" value? -- Posted via http://www.ruby-forum.com/.
2003 May 13
1
qt(p,df) discontinuous in p for df in 1.01->1.7 (PR#2991)
Full_Name: Jens Lund Version: Version 1.7.0 (2003-04-16) OS: Win NT 4.0 SP 6 Submission from: (NULL) (193.3.225.210) As the T distribution is symmetrical around 0 qt(0.5,df) should return 0 for any df. However for df close to 1 it seems to have problems as seen by: qt(0.5,seq(1,1.1,by=0.0001)) For example: > qt(0.5,1.01) [1] -0.2300470 Higher df as df=1.1 (and up to approx df=1.7) seem
2001 Jan 10
1
optmizing with monotone stepfunctions?
Before re-inventing the wheel I would like to ask: does anyone know about an optimizer in R which can reliably identify which value of X (Xopt) leads to Y (Yopt) closest to Ytarget in Y <- MonotoneStepFun(X) optionally with the restriction that Yopt <= Ytarget (at least if any Y <= Ytarget, otherwise any Yopt > Ytarget would be the preferred answer) If none is known, I will write
2006 Mar 16
21
RadRails 0.6 out
Since RadRails 0.6 is out (see http://www.radrails.org/ ), I have made a "celebratory illustrated tutorial" on how to use the Eclipse update function to do the upgrade from within Eclipse (I found the process a tad confusing): http://wiki.awebfactory.com.ar/awebfactory/published/UpdateRadRails saludos, Victor Kane awebfactory.com.ar -------------- next part -------------- An HTML
2006 Jan 05
2
Ruby On Rails Workshop in Zurich, Switzerland
I''m happy to announce a two day RubyOnRails Workshop in Switzerland, 27.-28. February 2006. Details can be found here: http://www.invisible.ch/static/47/ rubyonrailsschulung (german) cheers Jens-Christian -- InVisible GmbH, Langgr?tstrasse 172, 8047 Z?rich Phone: +41 44 401 09 30 http://www.invisible.ch http://not.invisible.ch -------------- next part -------------- A non-text