similar to: Mac OS X and Uninitialzed Constant Mysql

Displaying 20 results from an estimated 5000 matches similar to: "Mac OS X and Uninitialzed Constant Mysql"

2006 May 14
0
Rails] Re: Mac OS X and Uninitialzed Constant Mysql
Thanks for the reply, Mick. I do the have the database connection params set correctly in config/database.yml. I stumbled across the following post (http://www.elharo.com/blog/category/software- development/databases/), and the suggestion was to change the mysql version from 64-bit to 32-bit (the mysql.com downloads). I did, and it works as expected now. As the mysql gem is compiled
2006 Apr 27
12
Execute controller function from RJS
Hi all, I wonder if it is somehow possible to execture or redirect to a controller function from RJS? Right now I do: def foo() render :partial => ''executeagain'' end _executeagain.rhtml <script> new Ajax.Updater(''elmntID'', ''/test/foo/'', {evalScripts:true}); </script> This will loop I know :) How can I achieve the same
2006 May 08
17
partial problem
def my_controller @variable = [{''myfield''=>''grey''},{''myfield''=>''blue''}] end #-------------------------my_view <table> <%= render :partial=>''my_partial, :collection=>@variable %> </table> #----------------------_my_partial <tr> <td><%=
2006 Apr 26
10
Rails Document must be more detailed otherwise...
In java/c++ the method signature provide a good details on which parameters the method accept, but in rails the ability to send hash as parameters make it impossible to know which parameters can be send. This ability make the rails API doc a must to be full of details and not supply partial examples of usage. When for example I see *link_to_remote*(name, options = {}, html_options = {}) I would
2001 Sep 18
3
OpenSSH linkable library
Has anyone considered making a linkable library of the OpenSSH code so that one could programatically interact with ssh? Or is there some other method to accomplish this? Thanks, -Eric
2006 Apr 25
3
file upload and check width and height of the picture
i have an file upload in my rails app and i''m saving the picture in the filesystem. i need to validate if the uploaded picture have a certain width and height. how can i do this thank you very much -- Posted via http://www.ruby-forum.com/.
2006 May 15
4
Other databases...
I''m a newbie to Ruby and I was wondering if Ruby on Rails will work with databases that has a ODBC/JDBC driver or does it ONLY work with the databases that it list in it''s documentation? Thanks -- Posted via http://www.ruby-forum.com/.
2014 Mar 12
2
Connection refused userdb lookup ..dovecot/auth-userdb
Hi There, Ive taken a look at this and cant quite figure out what is going on here. I have tested all the SQL permissions, and also changed the unix_listener auth-userdb mode to 0666 (as instructed elsewhere to try and solve this issue), but cannot seem to work out what the issue is. Would someone be able to please point me in the correct direction here? Output of log + dovecot -n via this
2006 May 01
4
When to make a new controller
Hey all, Ok this is probably a newb question, but I haven''t been programming with MVC for very long, and I''ve been wondering what the general opinion is, or best practices, for making a new controller. Like what cases would you need a new controller for and what cases can you just put everything into one controller? Thanks in advance, Randal -- Posted via
2006 May 11
3
Setting cookie value in test
In the initial version of my application I am just going to require cookies - down the road _considering_ changing that and providing something that works without. Anyway, this is somewhat of a two part question 1. Does this approach make sense or is there a better way typically used? Just have a before_filter in my application.rb to verify that the :_session_id cookie is present. If it
2018 Dec 01
4
I never touched nuthin'
hello, do you mind if I ask before I start poking about ? suddenly I notice that gmail is ignoring or because there is an error getmail is not sending the delete request. Mails are sent and received but not deleted gmail so I keep getting them. mick at rapunzel:~/.getmail$ getmail --rcfile getmailrc1 Delivery error (command deliver 1363 wrote to stderr: lda(mick,)Error:
2015 Nov 23
2
Dibujar en tres dimensiones para un dominio dado. Añadir curvas de nivel.
Hola, Deseo dibujar en tres dimensiones la siguiente función z= min( 1 - abs(x-0.7), 1 - abs(y-0.2)) en este dominio 0<= x <= y <=1 En el ejemplo que hay abajo, se dibuja para 0<=x<=1, 0<=y<=1. ¿Me pueden ofrecer alguna ayudita para dibujarla en el recinto 0<= x <= y <=1 ? Y si además me indican cómo dibujar las proyecciones (curvas de nivel) en los planos XY, YZ y
2017 Jan 04
4
seq.int/seq.default
On 1/4/17 1:26 AM, Martin Maechler wrote: >>>>>> Mick Jordan <mick.jordan at oracle.com> >>>>>> on Tue, 3 Jan 2017 07:57:15 -0800 writes: > > This is a message for someone familiar with the implementation. > > Superficially the R code for seq.default and the C code for seq.int > > appear to be semantically very
2016 May 02
3
R-3.2.5 Mac OS X package
When is the R-3.2.5 binary for Mac OS X likely to show up? Mick Jordan
2015 Apr 17
3
Redefining {
I am curious if anyone knows of R code where the "{" function is redefined in a useful way. Or "(" for that matter. Thanks Mick
2003 Oct 14
5
dialling out
When trying to dial out 982420173 our main number I get the engaged signal before I finish entering the phone number Any ideas ???? Regards Mick
2015 Jun 12
3
CRAN testing
Is the mechanism by which packages are tested on CRAN described anywhere? Is it by any chance written in R? The FastR <https://bitbucket.org/allr/fastr/wiki/Home> team is interested in running a virtual CRAN where we can test all the CRAN packages on FastR. Thanks Mick Jordan [[alternative HTML version deleted]]
2008 Oct 31
4
how to compute a roc curve
Hi, I'm trying to set up a prediction software, now i testing the performance of my method, so i need to calculate a ROC curve, specially auc, cut-off, sens and spec, i just looking at ROCH package, but it's a mass for me, i'm not a math guy and I'm getting lost Could any of you recommend me an easy-to-use package to do this task? i just have a list of positive/negative samples
2015 Jan 23
2
Simulación de modelo logit con interacción
Hola, ¿qué tal? Cierto, cierto, había un error en el código que publiqué. Pero el diagnóstico es parecido. Cuando los datos se generan con el coeficiente de x2 igual a 7, los coeficientes estimados tienen una distribución extraña, bimodal (aparentemente), en lugar de _normalmente_ distribuida alrededor del 7 como se espera. Supongo que depende del número de casos en que x2 = 1 e y = 0. Un
2015 Jan 22
5
Simulación de modelo logit con interacción
Hola, Deseo simular un modelo logit con interacción, estimar sus coeficientes y comprobar si son o no parecidos al modelo teórico. Con este ejemplo obtengo que los coeficientes estimados no se asemejan mucho a los originales. ¿Se le ocurre a alguien cuál es el motivo de esta discrepancia? ¿y cómo solucionarlo? Muchas gracias Emilio logisticsimulation <- function(n){ dat <-