similar to: How To Create Database Tables With Merb 0.0.7?

Displaying 20 results from an estimated 2000 matches similar to: "How To Create Database Tables With Merb 0.0.7?"

2006 Dec 04
2
Merb on Win32 Platform
I''m trying to get Merb running on Windows XP SP2 and am experiencing some difficulties. I load http://localhost:4000/posts/new in my browser expecting to see the contents of new.herb rendered. However the following error is reported: Request: PATH_INFO: /posts/new Params: {"action"=>"new", "id"=>nil, "controller"=>"posts"}
2006 Dec 03
1
File Upload Unix Only?
I tried the upload feature in merb 0.0.7 using http://localhost:4000/files I get the following: Permission denied - D:/Temp/Merb.5172.0 or E:/Dev/Ruby/merb-0.0.7/examples/sample_app/dist/public/files/foobar.jpg - (Errno::EACCES) C:/Ruby/lib/ruby/1.8/fileutils.rb:501:in `rename'' C:/Ruby/lib/ruby/1.8/fileutils.rb:501:in `mv'' C:/Ruby/lib/ruby/1.8/fileutils.rb:1379:in
2006 Dec 07
3
What does js partial(...) do?
In the example application named "sample_app", comment.jerb contains the following line: $(''comments'').update(<%=js partial(:comments) %>); What does the ''js'' method do to/with, if anything at all, ''partial(:comments)''? Merb is quite fun to use and I''m starting to get a feel for it and ruby. I''m surprised at
2006 Dec 18
1
Upload Progress (mup.js) typo
I was using the sample_app and found out that the progress bar wasn''t changing color. It was updating the percentage but wasn''t updating the width of the status bar style... I found that the mup.js was missing and appended "px" So here it is: my first ever Merb patch! http://pastie.caboo.se/28450 cheers, -rjs- (the_mug) Blog: http://www.rosamour.com --------------
2007 Jan 19
5
Merb Init Script
I''m trying to emulate the mongrel_cluster_ctl but it takes a -c conf_file option... meaning I can run it from anywhere as long as I tell it where the conf file is. Merb doesn''t have that capability does it? (it has an additional/supplemental config like mup.conf etc) Do I have to be under the merb_app root /path/to/merb/app/ to be able to run merb? Let me know. Thanks,
2007 May 31
4
Sample Merb App
I put together a sample app to help people learn Merb: http://svn.depixelate.com/applications/invoice_tracker/ I also blogged about it here: http://depixelate.com/2007/5/31/taking-merb-for-a-spin -- Zack Chandler http://depixelate.com
2007 Mar 13
2
running merb locally
Stupid question, but is there a way to run merb locally, without installing it as a gem? I don''t mean freezing it into a merb app, but checking out merb and being able to run it without installing the gem first. The reason I ask is that I''m working on some debugging stuff and it''d be helpful to be able to modify the source code, run it, modify, run, and so on. (And yes,
2006 Nov 28
34
Uploading Large (100mb+) files
I have an Apache 2.2.3 (mod_proxy_balancer) frontend server that does not have mongrel installed. It does proxy requests to several other mongrel-only servers (each running 2 mongrel processes). Each mongrel node has the same rails code-base and it''s working perfectly. However, my question is when I add an upload file form... where is it going to physically put that file? I mean since
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)
2006 Oct 17
4
Merb, Mongrel+Erb
Hey there folks- I''m happy to announce the first useable release of my new pocket- framework Merb. Merb is a mongrel handler with built in controller and view templating with erb. It has a nice routing system similar to rails but much simpler. It uses some of the code from the camping handler and the rails handler and then some of its own secret sauce to form imho a nice fast
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:
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 30
2
Serving static files with Merb
Hi, I''m using Merb from the svn repository (revision 224, Merb 0.3.0). I am playing around trying to return static files. I''m opening a File and returning that from the controller. I''m setting the mime type and the content length (other wise nothing much happens). All requests for static content go through the same action of a particular controller. This is
2007 Aug 12
2
[PATCH] merb-rakefile-more-dist-byebye.diff
In rev 410, "rake db:migrate" doesn''t run because the Rake tasks are still looking for dist/ This patch removes all the references to dist/ that I could find. Ez, consider this a full copyright transfer from me to you on this and future patches; I''ll sign something official if you need it. -------------- next part -------------- A non-text attachment was
2007 Jul 19
3
Merb::Controller#url Usage
I have a question about the usage of Merb::Controller#url. When I have nested resources, requesting the new action works differently than I expected. I was wondering what the intended usage is. For example: Say I have r.resources :articles do |article| article.resources :article_attachments end irb(main):002:0> show_routes [:articles, "/articles"] [:article_attachments,
2007 May 04
6
Rspec on Merb Plugin - Initial thoughts?
A couple days ago I submitted a patch, that was committed by Ezra, to the MrBlog project for the Rspec on Merb plugin. So far, it only works with ActiveRecord including fixtures. Has any played with it? If so, did you get it to work? I''m going to be submitting a patch for Controller specs soon. It will be very bare bones, given my current lack of understanding of Merb controller
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 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 Sep 22
3
merb_sequel raketasks not working?
I''m trying to run on trunk. When I run "rake -T" I get an error: undefined local variable or method `full_config'' for Merb::Orms::Sequel:Module I''m not 100% sure that I haven''t messed something up, so I hesitate to cry "bug" without checking with everyone. Is anyone else seeing this? P.S. I''m running merb trunk installed as a gem,
2007 Jan 12
5
Rails session parasite...
All, I see this item on the merb-0.0.8 release notes Added rails session parasite mode. I am assuming merbs can piggy back off the rails current session. How does one achieve that ? Thanks Fernand -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/merb-devel/attachments/20070112/0803f46e/attachment.html