search for: ludlow

Displaying 20 results from an estimated 91 matches for "ludlow".

Did you mean: ludlam
2006 Aug 11
10
OT -- What is with all the fragmented threads recently?
Is it my imagination or has there been a huge increase in the number of fragmented threads in the last several days? Maybe it''s Gmail doing something crazy, but I see dozens of top-level conversations starting with replies (ex. "Re: [Rails] omfg something broke"). Did people collectively forget what the "reply" button looks like, or is the list software doing
2006 Aug 06
4
Can''t run rails
Yesterday, I was having a problem with db:migrate. I was told my version of rails was too old, and I needed to install it from gems instead of the version in my version of Ubuntu. Since then, I''ve done that, and I built ruby 1.8.4 from source and installed it. The installation was to /usr/local/bin. As my distribution had put ruby 1.8.3 in /usr/bin, I renamed that and put a link to
2006 Aug 22
1
Question on R Training
Dear R users, The R Project website doesn't seem to have any links devoted to R training. Are there any R trainers out there? Thank you for your help! Jeffrey V. Ludlow --------------------------------- [[alternative HTML version deleted]]
2006 Mar 31
10
ruby help / if (cond or cond)
Why this code doesn''t work as expected? It raises exceptions everytime. Tried with || operator, too. validates_each :x, :y do |record, attr| record.errors.add (attr, ''between 1 and 100'') if (attr.to_i>100 or attr.to_i<0) end -- They say money can''t buy happiness? Look at the smile on my face... ear to ear, baby!
2006 Jan 05
10
OT -- A "HOWTO" is a guide not a question.
This is way offtopic, but I''ve seen this several times recently and it''s annoying me. If you put "HOWTO" in your subject that means that you''re posting a guide on a particular topic. It doesn''t mean that you''re asking a question about "how to" do something. It''s not like it''s a crisis, but it screws up searches
2006 Aug 17
6
Memory error
I''m using ruby on rails on a Macbook Pro with sqlite3. I''m finding that memory for the ruby process stays about 20mb until I hit an error after which the mermory doesn''t seem to be released and keeps going up until I can''t use my machine. What could be causing this? is it using sqlite3? have I set up rails or ruby wrong? Tim -------------- next part
2006 May 24
7
migrations and SQLite
I read in the instructions of Tracks that "upgrading via the rake migrate command is quite a bit more tricky currently with SQLite and SQLite3". Is there any gotcha regarding migrations and SQLite3? -- fxn
2006 May 18
4
Can I send rendered .html to somewhere besides the web server?
Is there any way to tell Rails to send the .html file it renders somewhere other than the web server? I need to save a page to the server''s file system instead of sending it to the user''s browser. Thanks! Bill -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060518/facce47e/attachment.html
2006 Mar 06
20
How painful is the 1.0 -> 1.1 upgrade going to be?
Does anyone have a sense for how painful the 1.0 -> 1.1 upgrade is going to be for existing apps? I''m finishing up my first real RoR application with Rails 1.0. I can live with it staying at that level, but I really want to use the has_many :through attribute to clean up some of my code. I''m not particularly interested in edge Rails, mainly because the documentation for
2006 May 03
5
Finding the rhyme for has_many :through
Hi all, I am NOT a person with English as my mother language and I haven''t been programming long enough to be natural in these kind of things. And if that isn''t bad enough, I am a newbie on Rails too... So please enligthen. I am trying to build a simple tool for my shop. I have many products that I sell in my shop and of course I have many suppliers for the products. Thus
2006 Feb 24
4
lighttpd and Apache .. will they play together?
Can someone point me to a tutorial or web example of doing this ... I want to have a site that is normally pure content served via Apache and I want to set up a Rails app on the same box that is served via lighttpd. Now I want the Apache site to be able to retrieve formatted pages for MySQL database queries by the Rails app. I will also be using ActionMailer under the Rails app. How can I
2006 Jul 21
10
why validation on server side
hi, i have noticed that the validations in RoR happen at server side mostly what sites do is using javascript they validate user information there... whats the point of doing it at the server side is it that loading of javascript file in a browser makes a response to client slow and validation at server side offsets that....????? any sugeestions???? is it that i am missing something as
2006 Feb 11
3
read-only access to database?
I have a model (Query) which I use to, of all things, query the database. This is to enable raw SQL access. I want to ensure that db access using this model is read-only. Short of checking the sql query for ''insert'' and ''drop'' and ''update'', is there a more rails-like way of doing this in my app/models/query.rb itself? Thanks in advance,
2006 Jun 21
3
Simple range question
I have a model with a datetime field called start_date. I''d like to do a find on the model so that it returns only records with the start_date equal to the current day. Something like this: @foos = Foo.find(:all, :conditions => //?? start_date equal to today''s date ??// ] ) Thanks in advance for any help. -------------- next part
2006 Feb 20
3
Rewriting with an after_filter
All - I''m completely new to RoR and also new to programming in an MVC structure... The Pragmatic Programmers guide to Rails says, temptingly: "After filters can be used to modify the outbound response, changing the headers and content if required. Some applications use this technique to perform global replacements in the content generated by the controller?s templates (for
2006 Jan 09
6
What is AJAX?
What is AJAX? SteveT Steve Litt Author: * Universal Troubleshooting Process courseware * Troubleshooting Techniques of the Successful Technologist * Rapid Learning: Secret Weapon of the Successful Technologist Webmaster * Troubleshooters.Com * http://www.troubleshooters.com
2006 May 19
6
Capistrano: update instead of checkout?
Hello, Just started to use Capistrano for deployment and everything works beautifully and as advertised. Thanks Jamis for this great piece of software. However, in my case, the deploy task takes quite some time since my SVN repository resides on a different continent than my app/db server and I''ve frozen all the rails code in the vendor dir and checked in. All in all my app sums up to
2006 Mar 24
3
Using Tags in Applications
I''ve been contemplating the utilization of "tags" functionality for categorizing records in my application. For example, a record can have any tag associated with them: volunteer, donor, phone_caller, etc. (Much like delicious) Has anyone already laid out a good architecture for implementing this on the DB, or other medium? I''m sure I can custom build something, but
2006 Feb 09
3
[JOB] RoR/PHP Developer needed - London, SW2
NO AGENCIES PLEASE With that out the way, we (http://www.firebox.com) are looking for a web developer to join our existing small development team. Here''s the posting from our website[1]: ==== Web Developer (ref W200) Reporting to: Technical Director This permanent, full-time role involves developing the Firebox website and internal admin tools. You will be working in a small team on
2006 May 22
13
How is this possible?
When run from the console, the following code works, when run through the WEBrick server I get a "You have a nil object where you didn''t expect it!" class Competition < ActiveRecord::Base has_many :comp_dates, :order=>:position def initial_date comp_dates.first end def display_dates i_d = initial_date if i_d.nil? return "unknown"