similar to: Script to count lines of code in Rails app?

Displaying 20 results from an estimated 11000 matches similar to: "Script to count lines of code in Rails app?"

2011 Dec 10
5
create user and push out keys.
Hello Im just been working with puppet, the first usecase i have is to set up a system to create users and then push ssh keys on this machines in the create users .ssh files. I just started with puppet so i am a bit cluesless, Can someone push me in the right direction? Im having a centos enviorment. -- You received this message because you are subscribed to the Google Groups "Puppet
2009 Jul 13
6
first app on Dreamhost with Passenger : "rails needs to know your username and password" ?
I am trying to deploy my first rails app with Dreamhost. I ftp''d over my existing app, turned on Passenger and pointed it to my /public directory. When I go to ''www.mydomain.com'' I get the ''Ruby on Rails: Welcome aboard'' default page, including the following: Getting started Here’s how to get rolling: 1. Create your databases and edit
2006 May 03
1
Globalize app example anywhere?
Hi! Is there anywhere tutorial how to create working application using globalize plugin? I need to create a site in 3 different languages and i was suggested to use globalize plugin. I''ve read a bit on globalize wiki page and pdf from the presentation available on the same page, but i still can''t figure out how to use it. 1. Can i translate names of models and columns
2011 Nov 22
3
making scatterplot easier to read
Dear R users, do you know an easy way (other than star plot) of making several points laying one over another visible? Is it any simple way of increasing such "multipoint" symbols - or shifting their positions randomly to make several points in one place visible? Cheers, sz. -- Szymon Drobniak || Population Ecology Group *Institute of Environmental Sciences, Jagiellonian University
2006 Mar 08
3
attribute or instance method or what?
Hi! Uhm are attributes just something like additional members of a class, other than those that come from the names of columns in the table? I''ve got images table, which has ''name'' column. I''ve added support for creating thumbnails out of uploaded pictures and i''d like to have an easy way of accessing them in my views. How to do it? I.e. my image
2006 May 10
8
E-mail validtor??
Does anyone have a good working e-mail validator? or even some regexp to make the validates_format_of work right... that would be awesome. Also, maybe an online tutorial for regexp. i''ve always been afraid of it but i think it''s time to face the fears. thanks! -- Posted via http://www.ruby-forum.com/.
2006 Mar 09
7
How to restrict access to admin part of the page?
Hi! What is the easiest way to restrict access to some part of the page? In php i just put .htaccess and .htpasswd files in /admin folder and it worked. Now i''ve got one admin folder for controllers, one for views, public folder and i''m not really sure if it''s still possible. So what is the easiest way? I don''t have any user logging features on my site,
2006 Mar 17
6
Problem with ruby 1.8.4 One-Click Ruby Installer on windows
Hi! Previously i had ruby 1.8.2 (One-Click Ruby Installer) installed, but the rdoc and plugindoc didn''t work, so i decided to install ruby 1.8.4. I had uninstalled ruby 1.8.2 (uninstaller deleted the whole ruby folder with radrails and everything, just great) and installed One-Click Ruby Installer 1.8.4-16 preview3. Then installed rails, rmagick, radrails, created docs for trunk
2011 Sep 09
3
Read a list of files into named R data.frames
I have a collection of .csv files in a directory, and want to read them into R data.frames whose names are the same as the file names, without the .csv extension e.g., from > (files <- list.files(pattern="*.csv")) [1] "Allstar.csv" "AllstarFull.csv" [3] "Appearances.csv" "AwardsManagers.csv" [5]
2013 May 01
1
"nis homedir" issue on samba- 3.6.9-151.el6 (CentOS 6.4 64bit)
maybe there is a bug regarding the use of nis to mount the user's home directory at the login or my misconfiguration. After the CentOS 6.4 (64bit) installation I checked for the latest samba version on the official repository using yum: the latest version (that was already installed) is samba- 3.6.9-151.el6. >From "man smb.conf" I have seen that "nis homedir" is not yet
2004 Nov 26
3
W2k fails to join samba domain
Ok, I have a really frustrating one here. Attached is the capture of what is on the wire when this win2k box is trying to join the domain. It was given user "root" and password "dork" to join the domain "aussec". The win2k box just comes up with unknown user or bad password... I must be missing something as another linux box can join the domain properly and it
2006 Mar 08
19
Creating multiple rows with one form
Hello. I''ve been trying this out for the past two days and I can''t seem to get it. I''m going to have a page where you can upload x amount of images at once. Lets say 10 images need to be uploaded, all with a caption. I''d like to have a browse button to choose the file, then the caption. Now, if I put 10 of them in one form, fill them all out and submit, I get
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 Mar 24
7
Question about flash
Hi! I''ve got a search form, which calls search action. If the result set is empty, i set flash to display a proper message. At the end search action calls "render :action => list". If the search action returns empty result set and the message is displayed, but later user changes searching conditions, calls search again and result set is no longer empty, the message is
2006 Mar 22
4
How to write this SQL query?
Hi! Is there rails version of "where column in (value1, value2, ...)"? I know i could do OR many times, but this way is shorter. I''m ruby/rails newbie, so i have a problem with converting the hash, which i''m receving from the search form into the string for :conditions in find method. Could i instead of creating one, complicated (for me) query do something like
1998 Mar 26
1
Err...HP-UX 10.20 compile problems of samba-1.9.18p3
All... I'm new to the HP-UX environment... I'm trying to build 1.9.18p3, using the HP compiler...I get the following errors: Compiling util.c cpp: "values.h", line 27: warning 2001: Redefinition of macro MAXINT. cpp: "includes.h", line 290: error 4036: Can't open include file 'sys/statfs.h'. cpp: "includes.h", line 292: error 4036: Can't
2006 Mar 13
6
Specifying none/single/many conditions at the same time
Hi! It''s rather ruby question than rails... I have a single ''list'' action where i call paginate method. I can receive none, 1 or 2 variables that specify conditions for paginate method. How to write the code so i can call paginate without conditions if all conditions variable are nil, with a single condition if one of conditions variables is not empty and with 2 if
2006 Mar 02
17
can''t get rails to connect to mySQL - HELP!!!!!!!!!
Sorry, but this is really NOT as easy as the tutorials/books make out. I''m really struggling at the first hurdle here. And while I''m not a programmer by design I do know my way around most stuff. And if I can''t get this to work I suspect more people will have the same issues. There seems to be too many variables to address. I have winXP, I have ruby and rails all
2006 Apr 08
5
Moving my site into production mode - general questions
Hi! I''ve just finished my ror site and i''d like to move it into production mode. Now it runs on linux/apache 1.3/cgi. 1. Can i use fcgi in development mode? I''ve read somewhere that because of caching it causes memory leaks and fcgi shouldn''t generally be used in development. Does plain cgi also causes memory leaks in development mode? 2. Does rails
2006 Apr 01
3
Determine image width of png, gif or jpg?
Hi all In PHP I have a neat function: http://ch2.php.net/function.getimagesize With it I can easily determine the dimensions of an image file. How can I do that in RoR? Thanks for help. Greets, Josh -- Posted via http://www.ruby-forum.com/.