Displaying 14 results from an estimated 14 matches for "oitzall8rpk0mm7ywyx6yg".
2004 Oct 25
1
Rails 0.8: Just shy of 100 additions, changes, tweaks, and fixes!
...body, in methods on the service layer. Subject, recipients, sender, and
timestamp are all set up this way. An example of such a method:
def signed_up(recipient)
@recipients = recipient
@subject = "[Signed up] Welcome #{recipient}"
@from = "system-OiTZALl8rpK0mm7Ywyx6yg@public.gmane.org"
@sent_on = Time.local(2004, 12, 12)
@body["recipient"] = recipient
end
The body of the email is created by using an Action View template
(regular ERb) that has the content of the @body hash available as
instance variables. So the correspondin...
2005 Mar 09
9
Unit testing + instance variables
After *much* digging and playing around, I finally figured out how to
unit test instance variables that are created by actions. It was
more difficult than I expected. It seems like there should have been
a more straight forward way to do this. Can someone enlighten me? A
simplified and somewhat contrived example of what I am current doing:
Thanks.
Matt
>>
# My Controller of interest
2005 Mar 08
19
find_by_sql ON STEROID possible?
find_by_sql BREAKS THE OOP BEAUTY and perhaps we can solve that.
NAMING CONVENTIONS can perhaps make find_by_sql much more clever.
lets imagine that relation:
publishers <- books <-> authors_books <-> authors -> universities (can''t find
something else than university for that last association :) )
imagine we want to fetch every book and every associated
2004 Nov 07
2
Building of Basecamp seminar in SF
I am going on Tuesday. Anybody else here going?
Gleb
2005 Mar 16
6
caches_page problem
I''m currently caches_page the show method in my Image controller. The
show method looks at @params[''id''] to determine what output should be
generated.
The first time I access the method, say with
http://localhost/public/image/show/1.jpg, the appropriate directories
get created in /public (i.e. public/image/show/1.jpg). However, when
I try to retrieve
2005 Dec 16
7
offline copy of the api site ?
Hi,
Is there a archive off http://api.rubyonrails.org/ so that I can view it
without net access?
Kind Regards, Herbert
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
2005 Jan 07
5
Instiki 0.9.2
...that used part of other wikiwords.
* 0.2.0: First public release
Download latest from:
rubyforge.org/project/showfiles.php?group_id=186
Visit the official Instiki wiki:
www.instiki.org
License:
same as Ruby’s
Author:
David Heinemeier Hansson
Email:
david-OiTZALl8rpK0mm7Ywyx6yg@public.gmane.org
Weblog:
www.loudthinking.com
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
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
2004 Dec 07
30
Bind Variables in Active Record
OK, I have some basic functionality to support bind variables, it
appears to work with the ''old'' %s style too.
I''ve altered sanitize_conditions in
activerecord/lib/active_record/base.rb to check whether bind variables
are in the statement (/\?/). If they are, replace all the ?s to
escaped values from the arguments array. else santize and expand.
There are a few
2005 Mar 30
35
Respect and Disappointment
I''ve finally started a blog. I really didn''t want to go public with it
until I was sure I keep it up, but DHH posted a entry to his blog that I
feel compelled to comment on.
You can read about it on my blog:
http://www.bloglines.com/blog/CurtHibbs
Curt
2005 Mar 07
0
Rails 0.10.1: FCGI stability, WS generator, tons of fixes
This is the point release to tie up the various loose ends introduced
with Rails 0.10.0. Action Web Service has seen the most interesting
improvements feature-wise with a new generator and tie-ins with the
testing setup. There''s better support for XML-RPC: Instead of
performing type checking on the parameters the remote client sends, AWS
does casting to try and make it compatible
2004 Dec 14
1
Revisiting the rewriting
Since the WEBrick server has been so beefed up in Rails 0.9, I think
it''s a darn shame that its lingering outside the support of custom
pretty URLs. Also, it seems that the connection between mod_rewrite and
url_for and friends is pretty fuzzy for most people.
Hence, as we''ve talked about before, the rewriting of the url should be
pulled in-house. There has been a few
2005 Apr 19
3
Rails 0.12.1: No major update without a bit of pain
There''s nothing like pushing a new major update in order to find bugs
in the code when its exposed to a couple of hundred working
applications. Thankfully the fixes were almost as swift as the reports.
In any case, you''ll _definitely_ want to upgrade to 0.12.1 right away.
There''s a good handful of fixes for both Action Pack and Active Record
(mostly concerning the
2013 Dec 18
1
Rails 4.1.0.beta1 released
Hohoho, it''s Xmas time, kids!
We have a beta full of goodies for everyone who''s been nice this year.
Rails 4.1 is packed to the gills with more marvelous real-world feature
extractions, bug fixes, and the tireless polish only a community full of
Rails elves could bestow it with.
While this is just a beta release, it''s arguably a lot better tested and
ready than