Peter De Berdt wrote in post #963598:
> Or you can even delete the token when your external domain verifies
> the user token.
>
> This is all assuming all domains use the same app and thus database of
> course.
Hi Peter, the last solutions seems the best one imho... i'll look better
into it
Unfo
> http://www.windley.com/archives/2006/04/how_does_openid.shtml
> http://en.wikipedia.org/wiki/OpenID
>
> Basically you post the login credentials to your second app through URL
> +POST parameters, your second app authenticates and sends back the
> data needed to identify the user, first app uses t
Hi Peter, thank you for the reply
> Much in the same way you handle subdomains, but with the complete
> domain as a value in your database instead of just the subdomain.
mmm..ok, i'll try it out, considering that i'll have to manage both
domains and external domains
> This is more complicated. Y
Hi, there are a lot of rails application out there that permit the users
to host the application on a subdomain (e.g. http://test.myapp.com) or
over a user external domain (e.g. http://testapp.com).
How this is managed this in the code? I'm googling around but finding
only about subdomains, not ex
Hi guys, sorry the "spam", but I've just seen that there is a very good
offer for us (ie. months of newrelic, sendgrid, heroku, linode and other
cool services). You can check more here: http://tinyurl.com/35adxnv
Hope that's useful for someone (I've just took it)
--
Posted via http://www.ruby-for
pharrington wrote:
> even without Sanitizer, this seems fairly trivial:
>
> irb(main):017:0> links = "click here for
> your FACEthis domain is
> allowed"
> irb(main):018:0> allowed = "http://whitelisted.com";
> irb(main):019:0> doc = Hpricot links
> irb(main):020:0> (doc/"//a").each { |tag| tag.s
"I'll read the doc before asking"*10
Found, it's just a simple :domain => at the creation of the cookie
Sorry for the noise
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gro
Hi, i need that all the subdomains of an app (using subdomain_fu) use
'.domain.com' as domain for all cookies.
I've set ActionController::Base.session_options[:domain] = '.domain.com'
and it works...for just the session... how can i set this also for
common cookies ? (created with cookies[:name] =
Hi AGoofin, unfortunatly i now the risks to allow such tags and
attributes, but it's a requirement of the system, and textile (or
similar) aren't so powerful (you can't create templates like you do with
css and divs)
Do you have any hint about the link escaper?
--
Posted via http://www.ruby-fo
Hi, i wan't to permit users to send their own content, text, html, and
stuff like that. It should also be permit them to send their own design,
using div, span, internal style attributes and so on. Obviously i'd like
to protect everything forbidding javascript, but permitting object and
embedded (
Hi, i'm using nginx+passenger and i've set a max_connection_pool for
passenger equal to 10, and the rails pool in the database.yml to 25.
Looking to the production log i've found that it's not updated (i've
restart both mysql and nginx). The error is:
ActiveRecord::ConnectionTimeoutError (could no
> that should be ok.
ok, i'll try directly in production mode
> Those are all really differnt domains. Setting the domain to
> users.local would allow sharing with anything.users.local and
> users.local but nothing more. Remember to restart the app between
> changes
yep, i restart it everytime
> Your web browser won't allow you to set a top level cookie (ie one
> on .localhost), to the web browser it's as if you tried to set one
> for .com
Hi Frederick, ok..so should it work in the production mode? where the
session_domain would be like '.domain.com'
> In the app i'm working on righ
Hi, i've a problem with keeping the session between different
subdomains.
The subdomain itself works as expected, it's just the session which
isn't keep.
The url are like: http://username.users.localhost where username.users
is the subdomain, which i split and take the first part (username).
I
ctionwebservice-is-back
>
>
> On Mar 11, 3:54�pm, Xdmx Xdmx
Thank you Sumanth, i think i'll go with rest, it seems easier and
lighter... do you know if wadl is needed? or is it possible to give just
the xml as response (as is doing with other requests)?
p.s. actually i don
Hi, i've a rails app and i'd like to add a web service to permit of get
data from external.
What should i use to do this? I've seen that for create a web service
there is rest and soap, which is better?
I'm already using rest for the normal using of the web app, should i
stay stick with it?
I know
Sean McGilvray wrote:
> I am looking to see of someone has created a setup that will allow for
> a trial period of 30 days without collecting payment info up front.
>
> On the 30th day charge one fee (i.e. 4.95 + 9.95 setup fee)
>
> Then charge 4.95 a month after that.
>
> If you know how to do
Freddy Andersen wrote:
> What about activeResource ?
You mean activeresource for the rest approach ? for that sure, but you'd
always have the client who request a given url and get some xml to
parse... right?
Which is the better format to give the client between xml and json ?
And how to parse
Hi, i've two applications (APP1 and APP2) and i want that APP2 is able
to get data from APP1. I think that a simple rest web service is the way
to go. Do you have some good examples/tutorials? I've googled but i find
only old examples with the deprecated action web service. From the
client, who ge
anyone? :(
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe
Hi, i've a page where when a params[:something] is passed all/some the
urls in that page must have the params[:something] too, but when there
isn't it shouldn't appear.
I've tried with:
report_url(params[:id], :something => params[:something])
this works when there is the params[:something], but
Found, it's kind a bug.. with a datetime attribute in the fixture the
value must converted to the db format (to_s(:db)), otherwise a simple
Time.now would return nil
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message becaus
Hi, i've a fixture with some ruby code, something like this:
first:
attr1: text
attr2: <%= 3.days.ago %>
But now the <&= 3.days.ago %> doesn't return anymore the correct value,
but nil.
What happened? How can i put some dynamic text into the fixtures like N
days ago ?
Thanks
--
Posted via
Frederick Cheung wrote:
> On 12 Oct 2008, at 20:33, Xdmx Xdmx wrote:
>
> Isn't that normal? Give that the encoding is quoted printable, = signs
> have to be escaped. It does that with the mails I send and it does not
> cause a problem.
>
> My emails do however contai
Frederick Cheung wrote:
> I've got multipart html emails that work just fine. What are you doing
> in your mailer ?
>
> Fred
Nothing special. This is the code:
*** notifications.rb:
def alert
@sent_on = Time.now
@from = '[EMAIL PROTECTED]'
@recipients = '[EMAIL PR
Hi, i've to send a mail in the multipart format, but it became a mess
because of a 2 years old bug. It change stuff like style="... to
style=3D" so the clients doesn't render the mail good.
I've open a bug report at
http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/1204-email-mult
Hi, i send emails with a from and a reply-to email address, but i want
that the bounces are returned to another email address. How can i do
this?
I found that the return-path value would solve this, but it's set by the
last mail server, so i can't set it by myself (and actually i don't know
neithe
kopf1988 wrote:
> This help?
>
> http://www.contactology.com/check_mqs.php
yes, but would be nicer to know how to do something like that :) or
better which controls a mails needs, so to be able to warn the user, and
that should be done automatically by the system behind, non by external
site
Hi, do you think is it possible to check the score a given text/email
would have?
For example, I've a newsletter, and before send all the emails i'd like
to know (automatically) how much score should have that email on
spamassassin and similar software.
Do you think is it possible to do this check
JimCifarelli wrote:
> I've enjoyed using ar_mailer and it's ar_sendmail daemon. You can set
> it to process your email queue every 30 seconds, or 60 seconds and
> avoid having the issue of a cron job load your application. You do
> need to monitor that the daemon remains running! (god, monit, .et
30 matches
Mail list logo