search for: luetke

Displaying 20 results from an estimated 43 matches for "luetke".

2005 Mar 09
1
Re: Tons of shiny new stuff (Tobias Luetke)
Tobias, I would have left a comment on your blog, a thanks really, except that the comment submit form is throwing an error. So, thanks for the cool tools, especially the login generator. After deleting the old generator the new one worked and passed all tests in a snap. Like Tim Lucas said, the Hieraki code base is a wonderful resource for someone learning Rails. Much appreciated.
2005 Mar 10
6
images from database + caching
Is the information in http://wiki.rubyonrails.com/rails/show/HowtoUploadFiles on caching images still the best way on how to cache images that are served from the database? I haven''t added time information to my image table yet, and the images are sent after every single page view (even if it''s been downloaded already). Joe
2005 Jan 17
5
how to override rails errors messages?
hi, how can i override rails errors mesages (that are in english) to display them in an other language? thanks hangon
2005 Mar 07
3
Tons of shiny new stuff
Ok despite this crazy flu which got me last week i was able to get some coding done. Here goes: == Hieraki Hieraki got plenty of improvements next to the rails 0.10 update. The biggest new features are proper yaml, html and readme export. But there are also plenty of new code improvements like the switch to my favorite postback style for all controllers. Hieraki traditionally serves as a demo
2005 Mar 03
19
Better tools for authoring the view
I''m hand editing my .css and .rhtml files using SciTE and hitting refresh in my browser to see the results - its slow going. What tools are people using to author their .css and .rhtml files? Thanks, Neville _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 Feb 05
8
sha1 or md5?
I''m building a site that requires user log-in and i have seen the Agile book using sha1 for password hashing while R-Forum uses md5. Is there any compelling argument to use one over the other? -- Posted via http://www.ruby-forum.com/.
2005 Mar 24
3
Caching computation in rails?
Caching computation in rails? Simple example: factorial modulus a large number input: integer x output: factorial( x ) % 12345678901234567 I want it so that if it computes factorial of N once, it will not have to compute for N again. code: class SiteController < ApplicationController caches_action :factorial, :inv def examine @inv = @params[''inv''] @outv =
2005 May 03
8
SQLite3 + RAM drive => 3 times faster unit tests
One problem I sort of always had with the ActiveRecord''s tight coupling to the SQL backend is how slow it makes the unit tests. OK, there are some ways to make it faster at a price of extra complexity (reusing the fixtures, doing a rollback in the end of the test, etc), but still - it is much slower than what I would like a unit test to be. Today I had a very simple idea (why, oh why
2005 Mar 17
4
Specifying Which Environment I Am In
After I have uploaded my app where do I specify that my app should now use production environment settings and not development? Can that be done dynamically so that I don''t have to reset a value once I upload website? Thanks for your help!
2005 Mar 09
10
Confused about extending the login generator ''user''
I''ve been using the login generator ''out of the box'' for simple authentication, and its been working fine. Now I want to extend it by simply adding ''type_id'' field which links to my ''user_types'' table, but I''m hitting: #<ActionController::SessionRestoreError: Session contained objects where the class definition
2006 Jan 08
8
I need untyped associations
I am in the process of trying to migrate to ROR from a home grown ORM, but one stumbling block is ActiveRecord''s typed associations and object ID assignment scheme. In the home grown system, I have a master table which *all* objects are packed into and a master associative table which holds *all* associations. This allows each object, regardless of type, to have a unique ID and thus it
2006 Jul 04
4
Question about Salted Hash Login Generator
Hi, I am using salted hash login generator to create my login page. In the user_environment.rb file, I saw that there is a comment saying should NOT include the email field in the changeable user fields array. Does anyone know why? > # Add all changeable user fields to this array. > # They will then be able to be edited from the edit action. You > # should NOT include the
2006 Apr 13
8
DevTower Beta3 Release!
DevTower Beta3! (0.3) I''m proud to announce some major changes and improvements to DevTower in this beta release! First and foremost, DevTower is now a full plugin. Also, DevTower works (only) with Rails 1.1. ==== ABOUT ===== DevTower used to synchronize the development of Ruby On Rails applications with developers working simultaniously on multiple systems with Subversion. DevTower
2005 Mar 05
3
login generator problem
I am trying to use the login generator, but I keep getting the following error when I run "generate login Account": /usr/lib/ruby/gems/1.8/gems/rails-0.10.0/lib/rails_generator/base.rb:84:in `manifest'': No manifest for ''login'' generator. (NotImplementedError) from (eval):3:in `__send__'' from (eval):3:in `manifest'' from
2005 Jun 24
9
new mysql gem
...properly closing MySQL connections, there is a new MySQL gem. (Actually the version was released some time ago, just nobody took the time to make a gem) So run "gem update" or just "gem install mysql" to update (not sure if the latter also updates). Special thanks to Tobias Luetke, who forwarded the gem to Chad on RubyForge. Kind Regards, Flurin Egger
2005 Apr 24
4
Typo 2.0
I''m proud to announce the 2.0 release of the typo web logging engine. What started as a toy project while I was waiting for a client at starbucks now became a prestige open source project with tons of modern features a dedicated dev team and even its own hosting service! Get it at http://rubyforge.org/projects/typo/ The 2.0 release has been long coming. Here are some of the new
2006 Feb 28
12
Examples for Money library ?
Can anybody share some examples of their Money implementation ? I''m trying to setup a Model to use this library, but can''t seem to wrap my head around how it is exactly supposed to work. My Model (Foo) looks like: =============== composed_of :commission, :class_name => "Money", :mapping => [ %w(commission_cents cents), %w(commission_currency currency) ] Yet, in
2006 Jun 26
6
paypal ipn from leetsoft
Has anyone had any luck with the paypal gem from leetsoft (Tobias Luetke)? I''m successfully sending off and making payments, but the ipn doesn''t send back to my site. I have the notify_url set in the form, have a action set for the ipn postbacks, but all I get from my sandbox after payment is a "view shops" page from paypal after payment...
2006 Apr 21
0
Caching of collections/references on session?
...============== * Added search through session to clear out association caches at the end of each request. This makes it possible to place Active Record objects in the session without worrying about stale data in the associations (the main object is still subject to caching, naturally) #347 [Tobias Luetke] Maybe I have switched this behaviour off somehow? Any help, much appreciated, Cheers, Tom -- Posted via http://www.ruby-forum.com/.
2007 Jan 02
0
Mocha
On 31/12/06, Tobias L?tke <tobias.luetke at gmail.com> wrote: > > I just replaced various homegrown stubbing and mocking facilities in > Shopify and wanted to let you know my appreciation for this fantastic > library of yours. I love the user interface and the internal code is > something to behold as well. Thanks - I&...