similar to: Rails and SCM Best Practices

Displaying 20 results from an estimated 5000 matches similar to: "Rails and SCM Best Practices"

2005 Mar 08
3
Extracting images from a DB
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I would like to extract an image BLOB from my database and display it alongside some other information on my ''edit'' page. I read the information here http://wiki.rubyonrails.com/rails/show/HowtoUploadFiles and that was really helpful. However, it still isn''t clear to me how I would get access to the image in my views if
2005 Mar 04
3
Boolean values
Hi, I''m using SQL Server. I have a BIT field. I have a fix and a question. This is a patch for a bug in the SQL Server adapter that causes any insert or update to fail: lib/active_record/connection_adapters/sqlserver_adapter.rb @@ -239,2 +239,2 @@ - when TrueClass then (column && column.type == :boolean ? "''t''" : "1")
2011 Nov 02
3
activeldap and migrations
Stupid activeldap is messing with my mind ;-) rails (3.1.1 activeldap (3.1.0) rubygems-update (1.4.2) I have activerecord (database.yml/postgresql) and activeldap (ldap.yml) as configured sources for my models. I want to add some more things to my models but activeldap is killing my attempts to create migrations... cwhite@nxpc:~/tti_framework$ rails generate migration AddSettings error
2005 Dec 16
3
Productize on 1.0
Hi, Has anybody tried using the Productize plugin on a recent Rails install? The pages on RubyForge http://rubyforge.org/projects/productize/ seem to indicate the development has sort of stalled, or perhaps it''s stable as can be. Just thought I''d ask for before I give it a go.. Cheers, Jeroen
2005 Dec 17
2
Testing RoR
I jumped into RoR @ about 3 AM. I think I''ve got it running, but need a simple sanity check. I''ve been through as many references as possible, but thought that I''d ask the list here for references. This list sort of almost being "live". _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 Sep 16
1
Class Table Inheritance - ?
Is class table inheritance possible with MySQL and Rails? I saw John Wilger''s cool yet complicated Postgres implementation. I have looked for a solution, but I can not find one. Are there any plans for class table inheritance for Rails in the future? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
2006 Mar 07
17
[UNDER CONSTRUCTION] YAC? (Yet Another Capistrano)
My needs are far more modest than Capistrano''s capabilities. Also, when working in a shared hosting environment, the Capistrano model can be outside the capabilities allowed by the Web host. I simply need to push selected directories (on a changed-file basis) out to a server. I have about 80% of the code written to do this (I''m considering YAC for the name, with a nod to
2011 Aug 23
2
How can I do these simulations with R code
1) The Pareto P(alfa) distribution is defined by its density f(x|alfa) =alfa*X^(-alfa-1) over (1 to infinity). Show that it can be generated as the -1/alfa power of a uniforme variate. Plot the histogram and the density. 2) The Poisson distribution P(lambda) is connected to the exponential distribution through the Poisson process in that it can be simulated by generating exponential random
2007 Sep 10
1
MLE Function
I am just trying to teach myself how to use the mle function in R because it is much better than what is provided in MATLAB. I am following tutorial material from the internet, however, it gives the following errors, does anybody know what is happening to cause such errors, or does anybody know any better tutorial material on this particular subject. >
2005 Dec 31
1
Error when Testing AWS API (ArgumentError: illegal refid http://test.host/login)
OK, I''m finally starting to play around with the AWS part of Rails, and I''m running into problems with the functional tests. If I use the generator to create the web service as ./script/generate web_sevice MyTest do_it and then run the unit tests without further editing the code, I get the following error: test_do_it(MyTestControllerApiTest): ArgumentError: illegal
2008 May 08
3
MLE for noncentral t distribution
I have a data with 236 observations. After plotting the histogram, I found that it looks like non-central t distribution. I would like to get MLE for mu and df. I found an example to find MLE for gamma distribution from "fitting distributions with R": library(stats4) ## loading package stats4 ll<-function(lambda,alfa) {n<-200 x<-x.gam
2005 May 01
5
Example using Builder::XmlMarkup and .rxml files?
Greetings, I''m a newby to both "R"s in RoR. I would like to use Builder::XmlMarkup to generate my pages. If there is a working downloadable example somewhere, that would probably be enough. Otherwise, here''s what I want to do: With the following controller: class AccountsController < ApplicationController layout ''accounts'' model :account
2017 Jul 30
3
greek letters do not work in expression
Dear all, I appreciate suggestions for following problem. I wrote to RStudio: plot(c(1,20),c(1,20), xlab = expression(paste(alfa))) or the same happen when I wrote: plot(c(1,20),c(1,20), xlab = expression(alfa)) what happen is, that description under x label is exactly "alpha", not greek letter alfa (?). Please where should I search problem, or what information to sent to list for
2009 Sep 11
1
call Fortran from R
Dear R users, I have to call fortran program from within R (R 2.8.1 on ubuntu 8.10 machine). Suppose I have a fortran code like this (this is only a toy model, my working model is far more complex, but input/output is similar) DOUBLE PRECISION FUNCTION model(times, alfa, beta) DOUBLE PRECISION alfa, beta, times model=beta*sin(times)+alfa*cos(times) END FUNCTION which
2005 Oct 31
7
Downloading zip files
I have not had a great amount of success installing/updating packages from the "Packages" menu of Rgui under Windows XL. (Except for installing from loacal zip files.) But I am not asking for help in using these facilities because I prefer to keep a folder of package zip files. On the other hand I do find it tedious having to right-click "Save link as" on every individual
2005 Sep 06
2
(no subject)
my problem actually arised with fitting the data to the weibulldistribution, where it is hard to see, if the proposed parameterestimates make sense. data1:2743;4678;21427;6194;10286;1505;12811;2161;6853;2625;14542;694;11491; ?? ?? ?? ?? ?? 14924;28640;17097;2136;5308;3477;91301;11488;3860;64114;14334 how am I supposed to know what starting values i have to take? i get different
2006 Apr 28
2
entries that match a regexp
Hi all, I am trying to filter the element of a df that start with "TF", like this: alfa = c(123221,"TF13124",41243,"TF1234",32414,"TF13124","TF14333",2134123,"TF1234") beta =
2017 Jul 30
2
greek letters do not work in expression
> On Jul 30, 2017, at 8:25 AM, Uwe Ligges <ligges at statistik.tu-dortmund.de> wrote: > > > > On 30.07.2017 17:22, Milan Cisty wrote: >> Dear all, >> I appreciate suggestions for following problem. I wrote to RStudio: >> plot(c(1,20),c(1,20), xlab = expression(paste(alfa))) >> or the same happen when I wrote: >> plot(c(1,20),c(1,20), xlab =
2003 Oct 04
3
a bug of function plot (PR#4405)
Full_Name: Ximing Zhao Version: R 1.7.1 OS: MacOs X Submission from: (NULL) (64.136.27.51) When I used function plot in R 1.7.1, I found two bugs. My whole function is this: ***************** drawexp<-function(X,x,c,b){ exp<-function28(X,x,c,b) if(max(exp)>=max(dexp(x,rate=1))){ plot(x,exp, type="l",main= paste("Exponential ,n=",length(X),"
2004 Nov 19
18
SingleTableInheritance Considered Harmful
Here''s the text of a quick note I''ve added to the Inheritance wiki page. I''m actually proposing that it would be a good idea to drop automatic single table inheritance and force people to declare it explicitly. There are two reasons for this: 1. Implicitly doing it unnecessarially limits your use of inheritance where you really need it: in your object-oriented