search for: freeze_from_svn

Displaying 4 results from an estimated 4 matches for "freeze_from_svn".

2007 Aug 04
2
How do you run an app on "edge merb"?
I didn''t quite see a direct answer to Matt''s question regarding running merb from SVN: http://rubyforge.org/pipermail/merb-devel/2007-July/000132.html In a merb application, is there something comparable to having rails in the vendor/ folder of a rails app? Thanks, Duane Johnson (canadaduane)
2007 Aug 31
3
Bootstrapping from SVN
Is there a simple way to bootstrap merb directly from the Subversion repository, rather than first installing it as a gem? I can do the following if I already have an old gem lying around: merb -g testapp # using an old gem cd testapp rake merb:freeze_from_svn Unfortunately, that means I''m using an old version of the generator. So for example, when I just tried this, the generator made a conf/ directory, whereas the code in trunk expects config/. Equally, I can''t test any new features recently added into the generator (such as the sna...
2007 Dec 13
2
Trying to use ActiveRecord STI but fails
...dels/measurement.rb which looks like this: class Measurement < Observation end 3. I have another file named app/models/observation.rb which looks like this: class Observation < ActiveRecord::Base belongs_to :feature belongs_to :node belongs_to :observation_type end 4. I ran rake freeze_from_svn 5. I start merb using script/merb and stdout/stderr look like this: $ script/merb Merb started with these options: --- :exception_details: true :reloader: true :session_secret_key: .6393 :mongrel_x_sendfile: true :reloader_time: 0.5 :cache_templates: false :merb_root: /home/francois/src/florian-op...
2008 Jan 18
5
How do I pass form values from POST controller specs?
Hi there I just started my first Merb app and I''m running into some weird things in Specs. When I do: describe "create action" do it "should create a new project" do project_params = {:name => ''bekkunin''} Project.should_receive(:create).with(project_params) controller, action = post(''/projects'', :project