Displaying 20 results from an estimated 4000 matches similar to: "upload_progress example"
2007 Dec 07
4
mrblog rake task fails
Hi all,
I''m trying to run the mrblog sample application but somehow the rake
task fails:
--
Los-Angeles:~/Projects/mrblog Ulf$ rake db:schema:load --trace
(in /Users/Ulf/Projects/mrblog)
rake aborted!
Don''t know how to build task ''db:schema:load''
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1472:in `[]''
2007 May 14
7
Help a newb with 0.3.1
Hi, first off thanks Ezra for Merb - it''s certainly interesting and
I''m keen to have a play. However, I''m having difficulties in getting
started. I''ve followed the docs for setting up mrblog and everything
seems to be installed correctly, and merb appears to start fine:
$ merb
you must install the markaby gem to use .mab templates
you must install the
2008 Jan 03
1
Can''t get upload progress bar working
Hi,
Apologies if this has been asked and answered previously.
I just started looking at Merb today as I''d like to use it as an upload
server, especially the upload progress feature.
I''ve installed the latest Merb gem (0.4.2) and created a new application
to test out uploading. I took elements of the mr_blog application and
integrated them into it. I realise this
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 Feb 06
0
Question about file upload max size
Hi,
We use merb for our file upload server. Everything is ok except file
upload size limit, we want to cancel file upload process immediately once we
learn that the size of upload files has exceed the max size limit.
First, we try to hack MerbUploadHandler#request_begins(here, we can get
CONTENT_LENGTH), but get trouble to cancel the upload process elegantly.
Currently, we have no
2006 Apr 11
0
upload_progress with apache
I am running Ruby 1.8.4, Rails 1.1, and apache2 with fcgid. I installed
the upload_progress plugin, but it doesn''t seem to be working. In my
log I see only
Processing SortController#create (for 71.32.223.31 at 2006-04-11
11:29:09) [POS\
T]
Session ID: 556c9a44ce6452a22bc1dbbab3ee5a2f
Parameters: {"commit"=>"Upload",
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 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,
2006 Jul 15
0
RJS help?
I have an action that does a redirect to an external URL, passing a
"come back to here" parameter to that URL.
When it "comes back to here", I either process a "successful" return,
process a "failed" return, or redirect on a "need more information"
return.
In the last case, I would really like to put the "need more information"
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 Jun 14
0
upload_progress with --prefix
Hi,
I think I may have found a bug: When starting Mongrel with --prefix,
upload_progress doesn''t work. When starting without, it does.
Is this something I can possibly work around in the Rails code? The app
uses url_for throughout.
Regards
Craig
2006 Jul 26
0
validates_presence_of in upload_progress plugin
Hi there,
I have implemented the upload_progress plugin
which ajaxified my form_tag and works as expected(ish)
and now I find that my validations do not work i.e validates_presence_of etc
etc
has anyone seen this before
or know the work around
cheers
dion
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 Sep 04
11
returning(...) ?
The following construct is an ActiveSupport-ism:
returning(Foo.new) do |foo|
...
end
I don''t especially like it, since it''s both more verbose and less efficient
than the direct alternative:
foo = Foo.new
...
foo
It doesn''t occur many times in Merb, so does anyone agree with me that it
should be removed?
I tried doing this (patch attached) and I find
2007 Aug 29
11
Non-Erubis Templates
Trunk Issue: Because of the use of ''autoload'', template handlers other
than Erubis are not loaded automatically (Haml, XMLBuilder). Either
this should be fixed, or the documentation should be updated to
instruct people how to use non-Erb template engines.
Apparently the solution is to do something like this in merb_init.rb:
::Merb::AbstractController.register_engine
2007 Sep 04
5
Xml templates...
I was looking in using an xml_builder template to do something like:
blee.xerb
xml.blees do
<% for blee in @blees %>
xml.blee = blee.name
<% end %>
end
It looks like the xml_builder template can''t expand the erb tag.
It this not the correct way to expand and xml template ?
Thanks !
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 Oct 16
6
respond_to API
I''ll probably do my respond_to API rewrite, as discussed here:
http://rubyforge.org/pipermail/merb-devel/2007-September/000275.html
sometime this week, unless someone has come up with a better API.
I''ll also work in http://merb.devjavu.com/ticket/227 at the same time.
Any serious objections?
2007 Sep 11
4
Problem returning a Proc
I''m just playing with a recent Merb trunk (-r590). All the specs pass, apart
from 2 pending.
Now, the README says: "if you return a Proc object from your action, it will
be called and the return value sent to the client."
However this doesn''t seem to work with the following test controller:
class Hello < Application
def world
res = "Hello world from
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