Displaying 20 results from an estimated 3000 matches similar to: "rendering js"
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
--------------
2008 Jan 03
1
render :update do |page|
I was wondering if anyone knew how to do the rails equivalent of
render :update do |page|
It looked like maybe render_inline would do. If that''s it - does anyone
have an example?
Has anyone ported the scriptaculous helpers to a merb plugin yet?
Also - is there anyway to search the mailing list archives?
Sorry for the newb questions. Looks like a great framework though!
-ben
2006 Dec 27
3
ARSession Woes!
I''m having an issue with ARsessions... I have a rails app AND a merb app
both under the same domain... I have redirects working for this to be
seamless... however, the session started on merb is different than the
session started in the rails app... like so..
http://pastie.caboo.se/private/r1ar42qiaekrqjdt6y
Any ideas why?
The only difference I see, but dunno where to change this, is
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 Nov 03
0
Render js
Hi all
Not sure if I''m missing something, render :js => "alert(''hello'');" does
return the alert but also displays alert(''hello'') in the template as text.
This is evident for all javascript returned via render js (inline or in
.js.erb).
Any help appreciated
Thanks
Frazer
-------------- next part --------------
An HTML attachment was
2007 Jun 27
1
inherits() and virtual classes
Hi
How do I test for an object having a particular virtual class?
In the following, "onion" is a virtual class, and "octonion" is
a non-virtual class contained in onion. The last call
to inherits() gives FALSE [R-2.5.0], when inherits.Rd led
me to expect TRUE.
setClass("onion",
representation = "VIRTUAL"
)
2004 Sep 02
1
File isn''t in mbox format: /var/mail/user1
I lately see lots of message like this in my maillog:
Sep 1 11:12:31 onion pop3-login: Login: user1 [203.11.35.29]
Sep 1 11:12:31 onion pop3(tekciz): File isn''t in mbox format: /var/mail/user1
Sep 1 11:12:31 onion pop3(tekciz): File isn''t in mbox format: /var/mail/user1
Sep 1 11:12:31 onion pop3: I/O leak: 0x1c00881c (0)
Sep 1 11:12:31 onion pop3: I/O leak: 0x1c034f1c (1)
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 Sep 01
1
as.environment(NULL)
Hi
In NEWS, it says
R CMD check now tests that the package can be loaded, and that
the package and namespace (if there is one) can each be loaded
in startup code (before the standard packages are loaded).
For package "onion", I think I have followed all of
sections 1.6.1 - 1.6.6 of R-exts, and it passes R CMD check for
R-2.3.1.
However, using R version 2.4.0 Under
2004 Sep 02
1
UPDATE: File isn''t in mbox format: /var/mail/user1
> -----Original Message-----
> From: dovecot-bounces@dovecot.org
> [mailto:dovecot-bounces@dovecot.org]On
> Behalf Of Zoong Pham
> Sent: Thursday, 2 September 2004 4:09 PM
> To: dovecot@dovecot.org
> Subject: [Dovecot] File isn''t in mbox format: /var/mail/user1
>
> I lately see lots of message like this in my maillog:
>
> Sep 1 11:12:31 onion pop3-login:
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 Nov 07
2
merb 0.4.0 session issue
Not sure if anyone else has had this problem.
I was running on merb edge fine a few days ago. Last night I went to
merb 0.4.0 via gem install and now any call to session[:foo] causes an
error >> undefined method ''[]'' for nil:NilClass
I have uninstalled and reinstalled merb with no luck.
dependencies.rb
use_orm :activerecord
merb.yml
:session_store: active_record
Gems
2007 Nov 07
1
merb/sequel mutex on or off? proxy_balancer or no?
Just a quick question to those of you using merb and sequel or
datamapper. How do you setup your merb app?
For example:
merb -X off -c 5, then run mod_proxy_balancer or nginx to load balance
between the 5 (or whatever #) of merb nodes?
merb -X off -d, then simply use something like proxypass
merb -c 5, keep the mutex lock and cluster it
haproxy, swiftiply, evented mongrel......
What
2007 Jul 31
2
Deploying with Merb
After a half day''s work I''ve created a Merb app to handle file uploads
for a Rails app.
In my dev environment, I changed the views in the Rails app to point
to Merb on port 4000.
But now I''m stuck trying to figure out how to deploy my new Merb app
on a production server.
Looks like originally this was handled with a rewrite rule
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:
2007 Jul 29
2
fcgi?
Hi,
I''ve been looking for a light weight alternative to rails for a few
small projects, and just came across merb, which looks perfect. The
only issue is that merb seems to be tied to mongrel, and I have to
deploy to our internal infrastructure which uses FastCGI.
How difficult would it be for me to modify merb to support a fcgi
interface (actually a rack interface - rack is
2008 Mar 13
1
Merb Projects and Autotest
Hi!
I''m rather new to Merb, but I thought I''d give it a shot. I found that
autotest wasn''t running my specs when my models were changing. Maybe this
is because of how I have set up Merb, but in the even that it''s not just me,
I''ve adapted Autotest''s mappings for Rails and have attached my efforts to
this email. Unfortunately, you need to
2007 Sep 19
4
Ticket #190 (friendlier way to add / register a mime type)
Following up on #190 [1], I''ve just added a simple patch that allows
the manipulation of the TYPES hash from within the Merb module. Use
like:
Merb.add_mime_type(:png,%w[image/png])
Merb.remove_mime_type(:png)
It specifically disallows the removal of the :all MimeType, since
content negotiation relies on it.
I''m not super wonderful at API design, so comments and
2008 Mar 13
2
Reloading lib files
Hi,
I have some Ruby modules inside my merb application /lib directory.
Problem is: Every time I make a change in these files I have to restart
Merb.
This becomes impossible after 1000 restarts in 10 minutes.
Can anybody say some magic words to save me?
Thanks,
-Sergio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: