Displaying 20 results from an estimated 4000 matches similar to: "Fill out skeleton specs"
2006 Dec 23
1
Generating a merb app skeleton...
I have just started playing with merb. I think this framework has great
potential
so ATTA BOYS are in order !!
Perhaps I missed something in the readme file, but how do I generate a
default
app in merb.
I was looking for something like the cmd below to generate the app
hierarchy ??
> merb myapp
-Fernand
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2004 Nov 01
2
Compilation error on mgcv_1.1-7 on OS X (10.3)
Greetings
I run into a compilation error when updating to mgcv_1.1-7 in R 2.0.0 on
OS X 10.3. Note that other pacakges have compiled nicely.
Some details are given below, but in short it looks like it's seeking for
/usr/local/lib/powerpc-apple-darwin6.8/3.4.2/
which I don't have. But I do have
/usr/lib/gcc/darwin/3.3
i.e a lower version of GCC in a different directory. More
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
2007 Sep 22
9
skeleton and configs
Hi people, just thought I''d mumble out my thoughts on merb''s apps
directory structure and config concepts and see what other people are
feeling...
the app dir:
mvc/application is layed out as expected....maybe
without the mailer by default (another discussion)
the config dir:
I really think that it''s confusing to have such a
mixture of ways to configure some
2007 Mar 28
0
[recipe] How to get on Merb Edge
Hello,
My name is Olle, and I am new here. I''d like to add some detail to
Ez''s explanation in a previous email [1]. These are the steps I took
to get Merb running Merb Edge (is that what you call it?).
Start in the merb-root not in the dist-root.
# Create dist/framework, plus script/merb stub
rake merb:freeze
cd dist
rm -rf framework
# Replace dist/framework with trunk
2006 Dec 04
1
Mailing List Modification Request
Ezra,
Is there a setting that can be changed to have the merb mailing list set the
from address as the users from as opposed to merb-devel at rubyforge.org?
Thanks!
Josh
--
Josh Knowles
joshknowles at gmail.com
http://joshknowles.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 Jul 27
1
need help with Merb?
Ezra,
I''m sure you are really busy and can''t spend too much working on Merb.
Please let us know how we can help you.
If the plugin architecture is stable, would you be interested in some of us
porting few rails plugins over (such as attachment_fu) ?
Or is there anything else we could do during our free hacking time?
Thanks,
-Matt
-------------- next part --------------
An
2007 Apr 11
0
Sessions migration...
Hi Ezra, and list,
Is there something fishy with the Merb-included migration? I ran it,
and MySQL complained.
I removed this line, by commenting it out:
# t.column :id, :integer, :null => false
(Since Rails migrations that create tables always create an auto-
increment as primary key, but they do use the NULL thing, so when you
pass in a null, things happen "the
2007 Jul 29
7
Merb test harness
Ezra,
* test harness in new generated merb apps with helpers for testing
merb without starting a server.
* pin down plugin arch
Seems to me that these two tasks go together unless you want to have
rspec built in Merb.
Regarding the test harness, my understanding is that:
- a developer should be able to easily write specs against a merb application.
- a developer should not need to start a merb
2007 Mar 13
0
Specs for Ticket 21
I''ve submitted some specs for the problem I found with parsing multipart
forms.
http://merb.devjavu.com/projects/merb/ticket/21
It looks like the problem is broader than I thought before. The multipart
form parsing only takes the last field in the form, the others get thrown
away.
Luke
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 Aug 26
0
Routes patch w/ specs
The new routes system is available as a patch, with specs. There are
a few specs that fail (6) having to do with mail and content
negotiation. I could use some help figuring these ones out. Lots of
things have changed, mostly in the dispatcher and controller classes.
Let me know what you think, and then let''s get this patch applied.
2008 Jan 14
0
Making failing view specs easier to troubleshoot
I just had a problem that had me stumped for an hour. All of a sudden
all of my view specs were failing, and I couldn''t get good
troubleshooting information from the rspec output. The output from
running `rake specs` was a bunch of HTML from
app/views/exceptions/internal_server_error.html.erb, but there wasn''t
enough info there to diagnose my problem. It just said
2008 Jan 16
3
Application generation
Hi All,
Is anyone seeing this?
$ merb merb_paste
/usr/local/lib/ruby/gems/1.8/gems/merb-0.5.2/lib/merb/config.rb:69:in
`parse_args'': uninitialized constant Merb::RELEASE (NameError)
from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize''
from /usr/local/lib/ruby/gems/1.8/gems/merb-0.5.2/lib/merb/config.rb:67:in
`new''
from
2007 Sep 21
1
RESTful route gives a 500 error when Content-Type is set
I have encountered a problem with a RESTful route, I have the simple route;
r.resources :people
With a corresponding controller, when I tried to access it using
ActiveResource I get a server error, I have tracked this down to a
problem where if the header ''Content-Type: application/xml'' is sent it
errors out:
> curl -H ''Accept: */*''
2008 Mar 10
0
Vancouver.rb Q&A with Brock Whitten on Rails, Getting Off Rails (Merb), PmpknPi (Blog in Merb) and More (Part I)
Hello,
I''ve published a Q&A in the Vancouver.rb series with Brock Whitten.
Questions include:
* How did you get started with Ruby on Rails? What makes Ruby on
Rails a great choice for developing web applications/sites?
* Can you tell us some challenges you''ve faced developing using
Ruby on Rails?
* Off the Rails - Can you tell us a little bit about Merb? How
2007 Dec 19
3
Trapping custom exceptions in merb 0.5.0
Hi,
I have the following setup:
class Fred < Application
class InvalidKey < Merb::ControllerExceptions::Unauthorized; end
def blee
raise InvalidKey unless key
end
end
I have added a view exception template in
views/exceptions/invalid_key.html.erb
but I am not seeing the exception page being rendered ?? The request
seems to correctly
go to
2007 Oct 24
1
Status of Merb on JRuby
I''ve submitted a few patches on Trac to help get Merb running under
JRuby [0][1][2][3][4]. It''d be cool if any of you committers could
find the time to look them over and apply/reject them. They''re mostly
tiny, so it shouldn''t be too onerous.
With all of these patches applied, there are still 3 spec failures.
One is in the spec ''a merb mailer
2007 Sep 11
0
Merb & Monit
greetings,
i have been trying to get merb and monit to play well. but monit
won''t restart merb. neither will monit stop merb if it is still
running but not responding.
below is the monit config for the merb app.
anyone know what i am doing wrong or have good strategies for using
monit and merb?
thank you - john weir
check process manwith-4000 with pidfile
2008 Mar 16
0
Merb Init Problems
Hi All,
I''ve come across the following problem with merb 0.5.3 (ruby 1.8.6 / Mac OS
X Leopard). Basically, when I type ''merb'' or ''merb -i'' from within the
app''s root, It starts, compiles the routes and then exits. Any ideas???
This is a brand spanking new merb app:
josh at JDS-MacBook:~/Projects/schmerb$ merb
Merb started with these
2007 Feb 15
1
wrong startup information in production environment
Hi,
I check out the last codes from merb repository. And the startup
information for production environment just like that:
======================================================
dev:/var/www/apps/upload_merb/current/log# /etc/init.d/merb_init start
Merb started with these options:
---
:template_ext:
:html: :herb
:js: :jerb
:xml: :xerb
:config: dist/conf/upload.conf
:drb_server_port: