search for: base_url

Displaying 19 results from an estimated 19 matches for "base_url".

Did you mean: base_uri
2011 Jun 16
1
Web based call back
Hi, I am looking for a simple solution to do this. I wish to have the user to enter their preferred method of connection i.e. for the cheapest solution to their desktop phone or mobile phone, then plan callfile based on the number that user provided and dial to the user. Any suggestions? CK -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Mar 23
5
Filecolumn storage location
Hi, I am using file_column for some image uploading. I want to have all the images stored under one root which I have managed by setting the :store_dir option as below. file_column :filename, :store_dir => File.join(RAILS_ROOT, ''public'', ''images'', ''products'') So, my images get uploaded to: /public/images/products/<primary_key>
2007 Apr 10
3
Link to local files
I have a small rails system I am building. Part of the code allow uploading files in to RailsRoot/public/files folder I am running this system is several places that have different domain and folder combinations. cases: 1) domain1.com/folder_a # where folder_a is a symbolic link from Apache document root to the public folder of rails app 2) domain2.com/folder_b/public # where folder_b is
2006 Jun 08
2
Including iTunes data into ruby output of RSS2.0...?
...9;2.0'', ''xmlns:itunes'' => ''http://www.itunes.com/dtds/podcast-1.0.dtd'' do xml.channel do xml.title ''Title here'' xml.author ''Everyone'' xml.description ''Description here'' xml.link(@base_url + url_for(:controller => ''/programs'')) xml.language ''en-us'' ... However, the iTunes XML tags aren''t a single word (e.g., "description"). Instead, they''re tags with subtags, like the output here: <itunes:image href="...
2006 Apr 14
1
file_column and custom store_dir
I''m using file_column to store mulitple versions of an image in a custom directory "images/artwork/" with the :store_dir option. This is working fine for uploading and storing the images, but whenever I try and access the images with the url_for_file_column helper it keeps generating the default path. I thought it would replace this by default, but it doesn''t seem to.
2007 May 29
2
Selenium, Spec:Ui and ... forks?
I am using Spec:UI to run my Selenium tests, and I want to start Selenium only once, for many descriptions. I''ve come quite far solving it by declaring a main ui spec like the following: require ''pathname'' require File.dirname(__FILE__) + ''/selenium'' $base_url="http://localhost:3000" $browser = Selenium::SeleniumDriver.new("localhost", 4444, "*firefox", "http://localhost:3000", 10000) $browser.start Dir.glob(Pathname.new(__FILE__).parent.join("iteration*").join("*.rb")).each do |file| require...
2006 Jul 19
1
Session management with SOAP and AWS
I''m working on a rails app where I''d like to have a session-based SOAP API. That is, I''d like to connect via SSL and have a ''login'' method followed by one or more other methods. I''m using the ActionWebService::Client::Soap class to connect to my app, but each method invocation results in a new session on the server (WEBrick, at the
2006 Oct 11
2
Mechanize: save and cancel doesn''t work in JSPWiki
...dit page). I can read the data in the form, but nothings get saved when I submit the page. Cancel doesn''t work either. I don''t get any errors. There is no JavaScript used to submit the form. After I''m logged in I do the following: def save(page, content) @agent.get(@base_url + "Edit.jsp?page=#{page}") form = @agent.page.forms.with.name(''editForm'') form.fields.name(''_editedtext'').value = content form.submit(form.buttons.first) end And this is the cancel method (the @agent already got the edit page) def cancel...
2015 Aug 22
2
[lldb-dev] [3.7 Release] RC3 has been tagged, let's wrap this up
...;; > + esac > + > + if [ -d $projsrc ]; then > + echo "# Reusing $proj $Release-$RC sources in $projsrc" > continue > fi > - echo "# Exporting $proj $Release-$RC sources" > - if ! svn export -q $Base_url/$proj/$ExportBranch $proj.src ; then > + echo "# Exporting $proj $Release-$RC sources to $projsrc" > + if ! svn export -q $Base_url/$proj/$ExportBranch $projsrc ; then > echo "error: failed to export $proj project" > exit 1 >...
2015 Aug 22
2
[lldb-dev] [3.7 Release] RC3 has been tagged, let's wrap this up
The problem seems to be caused by the way the symlinks are setup in test-release.sh, e.g. like so: llvm.src/tools/clang -> ../../cfe.src cfe.src/tools/extra -> ../../clang-tools-extra.src When it then tries to access the path llvm.src/tools/clang/tools/extra/clang-apply-replacements/lib/Tooling/../../../../../include, it fails. I tried this on both FreeBSD, OSX and Linux, but it fails
2018 Feb 26
0
lensfun-update-data on CentOS 7
...te-data Traceback (most recent call last): File "/bin/lensfun-update-data", line 118, in <module> read_location("http://lensfun.sourceforge.net/db/") File "/bin/lensfun-update-data", line 99, in read_location print("Reading {} \u2026".format(base_url + "versions.json")) UnicodeEncodeError: 'ascii' codec can't encode character '\u2026' in position 56: ordinal not in range(128) (*) 0.3.1 from EPEL. Regards, -- wwp -------------- next part -------------- A non-text attachment was scrubbed... Name: not available T...
2006 Jun 10
0
Dynamic file paths in FileColumn
...olumn (appologies to Mr. Kanthak) module FileColumn # :nodoc: ... def self.init_options(defaults, attr) options = defaults.dup options[:store_dir] ||= File.join(options[:root_path], options[:pub]) options[:tmp_base_dir] ||= File.join(options[:store_dir], "tmp") options[:base_url] ||= options[:web_root] + File.join(attr) FileUtils.mkpath([ options[:store_dir], options[:tmp_base_dir] ]) options end ... def file_column(attr, options={}) options = DEFAULT_OPTIONS.merge(options) if options my_options = FileColumn::init_options(options,...
2011 Feb 11
0
rails 3 initialize module, running cucumber
...ssor :key mattr_accessor :sec end class ActiveRecord::Base include S3Config extend DynamicMethods end S3Config.key = AppConfig[''access_key_id''] S3Config.sec = AppConfig[''secret_access_key''] ActionMailer::Base.default_url_options[:host]=AppConfig[''base_url''] -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+uns...
2007 Dec 20
0
Relative URL fix
...y not only its'' value. def rewrite_url(path, options) url = old_rewrite_url(path, options) if ActionController::check_mode_and_base unless options[:skip_relative_url_root] url = url.gsub(@request.protocol + @request.host_with_port, '''') url = BASE_URL + url end end url end Here is a slight change to the rewrite_url_with_facebooker method, which deletes the :skip_relative_url_root key if it is true. def rewrite_url_with_facebooker(*args) options = args.first.is_a?(Hash) ? args.first : args.last is_link_to_canvas=lin...
2006 Jan 04
4
file_column
I use file_column and it works fine. I tried to change the store_dir to a the path I want my files to be stored and not the default. I stored some images fine. But when I try to reach my images it seems like file_column uses the model_name/attribute_name on the image and not the store_dir I used. How can I change this ? Thanks in advance -- Alexander Antonakakis
2007 Nov 07
11
Links go to ''localhost''
I am using Apache2.2 + Mongrel on my machine. Now I am accessing it over LAN. When I enter http://mymachinename/myapp it opens fine but when I click on any link in my rails app, it replaces mymachinename with localhost (http://localhost/myapp/controller/action) and thus I am unable to access it from remote location.
2006 Jan 28
7
cool components in the form
Is there a easy way to add components like: http://www.dynarch.com/projects/calendar/ http://tinymce.moxiecode.com/example_full.php?example=true in ruby forms, by plugins or whatever? Thank you Rodrigo Dom?nguez Iplan Networs www.iplan.com.ar <http://www.iplan.com.ar/> ? rdominguez@iplan.com.ar www.rorra.com.ar <http://www.rorra.com.ar/> ? rorra@rorra.com.ar --------------
2006 Jul 09
3
Mongrel and proxying with Apache 2 mod_proxy
Hi all, I''ve just spent some time going through trying to get mongrel & apache 2.0 working with mod_proxy. I thought I''d share what I''ve found in case someone is going through the same exercise. Of late, I''ve been using mongrel (lovely, btw) to run my rails apps. Since I have a couple of different rails apps running on the machine, I thought it be nice to
2013 Apr 18
0
Processed: adding new jessie tag to sid-tagged bugs
...breoffice sometimes enters infinite poll-loop, high CPU load Bug #637781 [libreoffice] libreoffice sometimes enters infinite poll-loop, high CPU load Added tag(s) jessie. Added tag(s) jessie. > tags 659848 + jessie Bug #659848 [drupal7] drupal7: cron.sh should reset $CRON_KEY in the same way as $BASE_URL Added tag(s) jessie. > tags 560960 + jessie Bug #560960 [ntp] deal gracefully with ipv6 address change Added tag(s) jessie. > tags 580500 + jessie Bug #580500 [grub-common] xen-hypervisor-3.4-i386: Hypervisor fails to populate sysfs, causing xend to fail Added tag(s) jessie. > tags 701436...