search for: lilleaa

Displaying 5 results from an estimated 5 matches for "lilleaa".

Did you mean: lilleaas
2008 Oct 21
2
Include rake migration in a plugin
Hi there, as sad as it seems, I can''t find a hint on how to include a simple statement like rake db:sessions:create rake db:migrate in the rakefile of a plugin that I want to write myself. Any help of of course appreciated - thanks in advance. Best, Alain M. Lafon -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this
2008 Oct 14
1
To all TextMate users that wants to run tests with cmd + r in Rails 2.1 and above.
Because the require ''test_helper'' at the top of all the tests is relative now (it used to be something like require ''../test_helper''), you can''t just run the file with ruby anymore. And running the file with ruby is exactly what command + r does. Which means you can''t easily run your tests from textmate. The solution:
2009 Jun 10
3
Problems 4.2 installing on Windows?
I keep an old Windows machine around for making sure that RedCloth Win32 binary gems install. When I try gem update RedCloth, it just installs 4.1.9. Did I do something wrong in the gemspec? Would someone else with a windows machine try it and let me know how it goes? Jason
2007 Oct 20
0
Proper timestamps in callbacks
Yay, another Task model: ## the model class Task < ActiveRecord::Base attr_accessible :lots, :of, :stuff, :but, :not, :finished_at, :and, :finished before_save do @before_save.call if @before_save end def finish self.finished = true @before_save = proc { self.finished_at = Time.now } end end ## usage t = Task.find(some_id) t.finish t.save (same code on pastie:
2008 May 08
0
Running tests with textmate
What''s up with tests doing require ''test_helper'' instead of require File.dirname(__FILE__) + ''/../test_helper'' in edge rails, so that running test files in textmate doesn''t work? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.