search for: alder

Displaying 20 results from an estimated 80 matches for "alder".

Did you mean: older
2009 Aug 07
2
create separate plots by factors
..., but it doesn't seem to work with plotting functions. I would really appreciate any leads. Ingrid site year peak ALBEN 5 101529.6 ALBEN 10 117483.4 ALBEN 20 132960.9 ALBEN 50 153251.2 ALBEN 100 168647.8 ALBEN 200 184153.6 ALBEN 500 204866.5 ALDER 5 6561.3 ALDER 10 7897.1 ALDER 20 9208.1 ALDER 50 10949.3 ALDER 100 12287.6 ALDER 200 13650.2 ALDER 500 15493.6 AMERI 5 43656.5 AMERI 10 51475.3 AMERI 20 58854.4 AMERI 50 68233.3 AMERI 100 75135.9 AMERI 200 8...
2006 Jun 09
18
Is IRB the ruby console ?
I''m running script/console but keep getting the message that irb.bat is not recognized as an internal or external command, operable program or batch file. If it means anything I am running instant rails. I can invoke irb straight forward. TIA Stuart -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Apr 04
4
Maintaining and securing the "Perfect Rails/Debian/Lighttpd Stack"
...n/Lighttpd Stack", published by Ezra Zygmuntowicz and Sean Schertell at http://brainspl.at/rails_stack.html I''m wondering what sort of constant maintanance that setup would incur. What actions have be regularly performed to keep this setup healthy and secure under normal conditions? Alder
2006 Jul 22
2
How to SELECT from multiple talbes with AR#find and associations?
...SELECT FROM foo, bar WHERE foo.id=bar.id AND bar.baz=23". How do I do it with AR#find? Also, I need this for associations. has_many et. al. have :finder_sql, which is nice, but feels like a Pyrrhic: it''s basically doing the association in pure SQL, defeating the purpose of AR. -- -Alder
2006 May 18
7
Ruby Before Rails
As I, like many people, are coming to ruby in the rails era, I''m curious about how Ruby Web Dev was done prior to rails. Any veterans want to share their insights? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060518/20cde24d/attachment.html
2006 May 18
4
How do you delete a session variable?
...w do you do that? Appearantly, session is a CGI::Session [1] instance, so it doesn''t have #delete like Hash. I tried: session[:foo] = nil But then debug(session) shows an empty :foo key. I''d like to remove that key, as my session is already pretty crowded. Is it possible? -- -Alder [1] http://ruby-doc.org/core/classes/CGI/Session.html
2006 May 06
3
Storing additional data on join tables with Rails
...ActiveRecord''s magic the wrong way, thereby breaking something. Still, that habtm association is just an association, not a model. I wouldn''t want to make it a model if I could help it. So, what''s the best practice for storing additional data on join tables with Rails? -Alder ------------------- [1] http://wiki.rubyonrails.com/rails/pages/has_and_belongs_to_many [2] http://encytemedia.com/blog/articles/2005/06/15/storing-additional-data-on-join-tables-with-rails#comment-490 [3] http://api.rubyonrails.com/classes/ActiveRecord/Associations/ClassMethods.html [4] http://wi...
2006 Mar 24
10
Running Rails tasks by schedule, instead of an HTTP request.
...scheduled Rails tasks? Is Rails suitable for that? 3. Finally: I''m planning to go with a rather conventional, mass-market host (probably DreamHost) with shared hosting. Would the answers to 1 and 2 still be valid for such a hosting solution? Or would I need a dedicated server? Regards, Alder Green
2006 Jul 21
2
File.open behavior for ActiveRecord, to ensure save after manipulation?
...gically closes the file when you''re done using/manipulating it. I''m wondering whether there''s something like that for ActiveRecord? So you can do: AR.find(23).open {|ar| ar.foo = ''bar'' ... } And ar.save would be called when the block closes. -- -Alder
2006 May 17
6
White Screen of Death
Hello, I''ve heard these words to describe a RoR application returning an empty page. This happen from time to time even here, in the forum. That is the cause of this misbehaviour ? Is it related with something external to RoR itself ? What is the solution to avoid the WSOD ? -- Posted via http://www.ruby-forum.com/.
2006 May 13
8
Which Linux flavor for a Rails server?
Hi folks, I''m a linux noob, and I''m trying to pick a distro for my rails server. I don''t want to start a flame-war about linux distros! I''m interested in the best distribution for these criteria: 1 - Simplicity of getting ruby and rails set-up (gem updates) 2 - Stability (it is a server, after all) 3 - Support resources (community, and as a fall-back, paid
2006 Apr 18
11
Which database to choose for a new Rails application - MySQL 4.1 or 5.0?
...9;t work, and unit-tests fail). So I should now choose between MySQL 4.1, which as I understand enjoys widespread popularity - perhaps the most widely used database for Rails, and MySQL 5.0, which is not as popular and tested, but obviously has certain advatages. Which would you choose? Regards, Alder
2006 Jul 22
10
Non English characters
Hi folks, Does anyone know how to tackle Swedish letters in Rails. Am I completely off track in thinking that it should be done using map or regex in some clever way? Bealach
2006 Jun 08
5
How to find particular pattern in string?
Hi, In my application I want to find out the occurance of substring "http:\\" in the main string "http:\\www.abc.com" Here how to find out whether substring "http:\\" is present in my String? & if substring "http:\\" is present then I want to delete it from main string. How to do this? PLs help me. Thanx in advance. Prash -- Posted via
2006 Jul 20
11
Any good alternative to single-table-inheritance?
I''m looking to implement model inheritance in a new application. Is there any good alternative to single-table-inheritance? -- -Alder
2006 Jun 14
13
Undefined method
I really hope this is not a bad question (as in he''s abusing the list). However I could use a little direction (even though I''m reading books, tutorials) Right now I''m getting a undefined method `category'' for 4:Fixnum The specific lines from the rhtml file are: <td><%= link_to position.category_id.category, :action => "show", :id =>
2006 Jul 21
4
weird table pluralization problem
When I created a new project and a "equipment" model for an unknown reason to me rails tried to query the table "equipment" and not "equipments", does someone know why it did that ? So I added set_table_name "equipments" in the model class and it now works but I don''t really understand why it is required in the first place... -- Posted via
2006 May 27
7
How should I select rows from a join-model based on more than one association?
...39;' AND convention_workshops.host_id=hosts.id AND hosts.name=''Matz''; I''m pretty sure there shouldn''t be a need to write all that SQL for Rails, especially after we bothered to set up all the association on the code level. But what is it? -- -Alder
2006 May 28
8
a newbie question, if possible to help
i was wondering if anyone can help me form a very simple "if" statment in the controller... i did a usual scaffold for table ''pages'', and everything is working out well, i did the main site ''backbone'' and all, and everythings good....the thing is, now i need to make sure that the site-admin does not have the possiblity to destroy page 1 or page 2.
2006 Apr 20
8
SCM for a Rails project - Darcs or Subversion?
...scussing SVN with Rails, while Darcs + Rails only yields a single - good but short and very basic - blog post. That said, I found SVN itself to be an overkill and less suitable for my zen of development, and would like to stick to Darcs also for Rails if the cost isn''t too high. Regards, Alder