search for: jerb

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

Did you mean: erb
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...
2007 Sep 29
1
templates with same name before extension are cached
...rder Request 1 "Accept: text/html" - "starting find_template, options are :" {:action=>"index"} - match on elsif action path is : /Users/dusty/nms/app/views/testing/index - no cache, created glob glob is : /Users/dusty/nms/app/views/testing/index.{html.erb,jerb,herb,haml,mab,js.erb,xerb,rhtml,builder,rxml,erb} - searched Dir[glob].first and found found is : /Users/dusty/nms/app/views/testing/index.herb - finished find_template, template is: "/Users/dusty/nms/app/views/testing/index.herb" Request 2 "Accept: text/xml" - "star...
2007 Feb 15
1
wrong startup information in production environment
...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: 32323 :sql_session: true :cluster: 2 :cache_templates: false :host: 127.0.0.1 :port: "6000" :allow_reloading: true :start_drb: true :merb_root: /var/www/apps/upload_merb/current :merb_config: /var/www/apps/upload_merb/current/...
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