Displaying 14 results from an estimated 14 matches for "mywebsit".
Did you mean:
mywebsite
2006 Jul 12
5
2 subdirectories 1 controller?
Hi,
I''d like to create the following setup with RoR:
www.mywebsite.com/subdir1/order/create
www.mywebsite.com/subdir2/order/create
I''d like both urls to call the same action in the same controller. How can
I do this? I know this may be complicated, but I''m prepared to go a long
way.
Shimon
-------------- next part --------------
An HTML atta...
2010 Jan 10
7
IIS + Apache + Mongrel: Problem with big data submit form
...i all,
I deployed a Rails application on a Windows Server 2003 machine as
follows:
+ I created two instances of Mongrel at ports 4001, 4002 to serve the
application
+ I set up an Apache instance at port 8080 for balancing load for the
two Mongrels => So I can access my website at URL http://mywebsite:8080/
+ I want to allow users access my website without typing port 8080 in
the URL. However, the server already runs IIS for several other
web-sites at default port 80. Therefore, I used ISAPI Rewrite to
forward
requests from IIS (at port 80) to the Apache (and therefore towards
the
Mongrels) =...
2006 Jan 30
5
Action Mailer woes
...> "somebody@somewhere.com.au",
:password => "wouldntyouliketoknow"
}
I have a Mailer model;
class ItemMailer < ActionMailer::Base
def item_assignment( address, title, body )
# Email header info MUST be added here
@recipients = address
@from = "accounts@mywebsite.com"
@subject = title
@body = body
# breakpoint ''mailer''
# Email body substitutions go here
end
end
In the controller I have;
...
# Send the Email
@recipient = Person.find(:first, :conditions => [''id = ?'',@to_dos.user_id])
@email_address...
2017 May 29
1
{centos 6} errors in libvirtd, all sites down, need advice
....centos.org)
18:03:54.050: 2413: error : virInterfaceDefParseXML:793 : XML error:
bond interface misses the bond element
18:22:30.393: 2457: error : ifaceGetIndex:334 : internal error interface
vnet0 does not exist
18:22:30.607: 2457: error : qemuAutostartDomain:165 : Failed to
autostart VM 'mywebsite': internal error interface vnet0 does not exist
18:25:05.942: 3054: error : ifaceGetIndex:334 : internal error interface
vnet0 does not exist
18:27:31.022: 3046: error : virNetworkObjIsDuplicate:1742 : operation
failed: network 'bobnet' already exists with uuid
85e167f9-4670-4f7c-68...
2010 May 11
2
Creating a HTTP Request on missed call?
...29 codec)
which works great.
Now I wish to try and configure asterisk to do a HTTP request and
submit callerID to an external website when a call is missed. eg
Someone calls PBX and rings extension 100 -> Call is not answered ->
HTTP request is initiated to the following URL
"http://www.mywebsite.com/index.php?=NumberHere"
....or something similar.
There are a couple of threads I have read on similar topics but none
seem to fit the bill. One involved installing a DialPlan Injection
module, however I was unable to get the associated SQL database
installed so I fell at the first hurdle...
2007 Jan 22
5
rails helpers are adding extra folders
i have a new rails site that i am setting up just like i normally do with
all of the other sites. i created a subdomain which is pointed to a
subfolder in my public_html.
i can view the site both at test.mywebsite.com and mywebsite.com/test/ but
when i view it by the subdomain, rails helpers are adding the /test/ to all
of my resources, so none of my images or style sheets are found.
this hasn''t ever happened to be before, so i''m not sure what to do. is there
something else i have to add...
2016 Apr 01
1
Using R for cURL commands
...api. My primairy focus was on using R for executing the curl command, however, I'm open to other approaches. The method I've been using so far:
I found some information online suggesting i'd use this code:
*js is a json from my R environment
Library(RCurl)
postForm("https://MYWEBSITE.eu/api/v2/organisations/abc/projects/cosson/datasets/DATABASE",
.opts = list(postfields = js,
httpheader = c('Content-Type' = 'application/json', Accept = 'application/json'),
userpwd = "name:pwd",
ssl.verifypeer = FALSE))
(userpwd and url have been chan...
2006 Jan 17
2
actionmailer
...::deliver_signup_thanks()
render_text "email test"
end
This is what I have in notifier model (notifier.rb)
class Notifier < ActiveRecord::Base
def signup_thanks()
# Email header info MUST be added here
@recipients = "test@test.com"
@from = "accounts@mywebsite.com"
@subject = "Thank you"
# Email body substitutions go here
# @body[?first_name?] = user.first_name
# @body[?last_name?] = user.last_name
end
end
This is what I have in environment.rb
ActionMailer::Base.server_settings = {
:address => "smtp.postoffic...
2006 Jun 20
4
Invoking MouseOver using link_to tag ?
...controller function on click of the link and invoke a local JS
function on MouseOver of the text ?
On a normal href we do something like this rt? for invoking the
onMouseover and onMouseout?. But i want to do the same thing but with
<%= link_to %> as above ?
<a href="http://www.mywebsite.com" onMouseover="myInJsFunction()"
onMouseout="myOutJSFunction()">TestingMouseOverEvents</a><br />
Thank You
Dinesh
--
Posted via http://www.ruby-forum.com/.
2006 Aug 11
5
actionmailler corrupting emails
...ruby cgi library, but wasn''t sure how to fix it. My code
is below.
Thanks in advance,
Sean
Here''s my code:
# development.rb
# Smtp config
ActionMailer::Base.server_settings = {
:address => "smtp.b2b2c.ca",
:port => 25,
:domain => ''www.mywebsite.com''
}
ActionMailer::Base.default_charset = "utf-8"
# notfier.rb
class Notifier < ActionMailer::Base
def order_confirmation(order)
@recipients = order.customer.email
@from = "orders@alien8recordings.com"
@subject = "Alien8 Recordings Stor...
2006 Jul 25
0
URLs not working in Action:Mailer emails
When I include my website address in emails generated by Action Mailer
they look OK but don''t actually work.
e.g.
looks like www.mywebsite.com
but the actual URL is
x-msg//79/www.mywebsite.com
What''s this x-msg//79 ?
And how do I get rid of it?
--
Posted via http://www.ruby-forum.com/.
2008 Jul 30
1
postfix and rails (ubuntu)
...unning on my rails system (unsure if it''s
correct), but Rails doesn''t seem to talk to it at all.
I''ve setup:
ActionMailer::Base.delivery_method = :sendmail
ActionMailer::Base.smtp_settings = {
:address => ''localhost'',
:domain => ''www.mywebsite.com'',
:port => 25
}
But it doesn''t work. Which log files should I check and/or how do I
fix this? I''m running Ubuntu and the latest stable rails version.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to t...
2006 Feb 28
0
Help: Script isn''t sending any email
...((@bill.save) && (@transaction.save))
Notifier::deliver_transaction_receipt_email(@user, @bill, @transaction)
end
end
Notifier model code:
def transaction_receipt_email( user, bill, transaction )
# Email header info MUST be added here
@recipients = user.email
@from = "billing@mywebsite.com"
@subject = "Thank you for your payment"
# Email body substitutions go here
@body["first_name"] = user.first_name
@body["last_name"] = user.last_name
@body["transaction_id"] = transaction.id
@body["amount"] = transaction.amoun...
2006 Jul 04
13
NewBie question
...n about the user.
I ask this question because I would like to prevent some cases where the
user browser won''t accept cookies.
I m from Asp 3.0, and I usually use a UID that I send thru my urls for each
on my links. (this unique identifier stored inside a table)
Something like http://www.mywebsite/contact.asp?sid=blablabla
Do you have any advice about this topic ?
Regards
Stan
Ps : ok my English is not perfect but :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060704/1cc6f0...