Displaying 20 results from an estimated 40000 matches similar to: "help with session"
2009 Jul 13
6
first app on Dreamhost with Passenger : "rails needs to know your username and password" ?
I am trying to deploy my first rails app with Dreamhost. I ftp''d over
my existing app, turned on Passenger and pointed it to my /public
directory. When I go to ''www.mydomain.com'' I get the ''Ruby on Rails:
Welcome aboard'' default page, including the following:
Getting started
Here’s how to get rolling:
1.
Create your databases and edit
2005 Sep 13
13
Authentication against AD?
I am having a hard time getting Samba to authentication correctly
against a Windows Active Directory setup.
Here is a snap of the smb.conf
[global]
passdb backend = ldapsam
security = domain
password server = server1.com server2.com
prefered master = No
local master = no
hide unreadable = yes
wins support = no
winbind use default
2007 Dec 10
1
SELinux and Perl script using sendmail
I have a webpage feedback form that uses a Perl script to
send e-mails with "| /usr/sbin/sendmail -t". It works
just fine, but SELinux is complaining about it:
SELinux is preventing /usr/sbin/postdrop (postfix_postdrop_t)
"getattr" to pipe:[41117] (httpd_t)
I'm a SELinux newb so I don't know what (if anything) to do
about it. Suggestions?
Miark
2006 Jun 28
2
models @ data extraction
I''m building my first webapp...
I have db tables "users" and "posts". Model for user is "has_many
:posts". Model for post is "belongs_to :user"
In a slightly modified scaffold I can list all the posts and which user
wrote them (/post/list), but want to link the username to a list of
posts by that user.
How do I accomplish that?
Sorry for the
2006 Aug 02
3
Need help with registration page
I have most of my books open as I''m trying to create this app. Still
not sure how to make this work - hopefully some help / hints can get
me further.
First I used the "authorizing users" recipe from Rails Recipes. Though
I did add some more generic type of registration fields (email,
address, etc).
I want the registration form on the main page(index) of the site.
What I have
2018 Feb 11
2
Best mail encryption solution for per-user
Aki really thanks for reply,, I hope for continue the conversation,
>> Do you have advice about Dovecot plugins for mail encryption:
>>
>> https://wiki2.dovecot.org/Plugins/MailCrypt
>> https://0xacab.org/riseuplabs/trees
>>
>> I like NaCL based encryption but the MailCrypt plugin is better
>> because it's maintained by Dovecot developers (is this
2012 Aug 29
1
Help on not matching object lengths
Dear All
I have the following code set up:
Code #1
a <-matrix(seq(0,8, by = sign(8-0)*0.25))
b <-matrix(seq(8,16, by = sign(16-8)*0.25))
c <-runif(1000,50,60)
d <-exp(-c*a)+exp(-c*b)
This will give me the obvious error message of lengths not matching. What I am trying to do here is to have 33 rows x 1000 columns d values calculated in total. As an eaxmple for visual, this is what
2012 Feb 26
2
question about user written function (newb question)
Quick newb question about R relating to the line of code below:
rawCool = read.zoo("cooling.txt", FUN = as.chron, format = "%m/%d/%Y %H:%M",
sep = "\t", aggregate = function(x) tail(x, 1))
I'm wondering what the specifics are for the argument where it has
"aggregate = function(x) tail(x, 1)". I understand that it removes the last
row of
2007 Jun 02
7
I''m really bad at controllers, help please.
Hey,
Sorry for so many questions - I''m really bad at this right now.
I''m trying to cover the following code w/ rspec
def index
if params[:user_id]
@user = User.find(params[:user_id])
@messages = @user.messages
end
end
So basically what I''m doing is listing all the messages for a user,
provided there is an id parameter.
describe
2006 May 18
4
Can I send rendered .html to somewhere besides the web server?
Is there any way to tell Rails to send the .html file it renders somewhere other than the web server? I need to save a page to the server''s file system instead of sending it to the user''s browser.
Thanks!
Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060518/facce47e/attachment.html
2007 Aug 08
3
SWF animation method
Hi all,
Just thought I'd share something I discovered last night. I was
interested in creating animations consisting of a series of plots and
after finding very little in the usual sources regarding animation in
R directly, and disliking the imagemagick method described here
(http://tolstoy.newcastle.edu.au/R/help/05/10/13297.html), I
discovered that if one exports the plots to a
2006 Apr 07
2
KDE vs Gnome
I think im using Gnome but im not sure. As for using logout command it
didn't work that's why I got puzzled and had to ask online since I couldn't
find the GUI one which was there but apparently im too blind to see.
Speaking of GUI side of things that's why I made the comment about no search
features in CentOS. None of my menus offer a search feature in the GUI so I
would have to
2006 Apr 13
1
Layouts in render_component?
Hi All,
Silly newb question. Is there a reason why :layout is unimplemented
in render_component() ? I''m looking at a situation where that would
*seem* to be the right answer.
Are there any patches available to add this?
JK
2005 Mar 03
4
[OT] - Why should I answer a Newbie question, therethick!
If you really want to do this the asterisk list is based off of mailman.
You can learn all about mailman here:
http://list.org/
But really, what are the odds that newbs will know to go there first?
Are you going to moderate it? Someone has to actually answer the
questions you know, if a newb only list is going to exist.
Look, don't answer lame questions if you don't want to. Flaming a
2012 Jul 23
5
large dataset - confused
I'm trying to load a dataset into R, but I'm completely lost. This is
probably due mostly to the fact that I'm a complete R newb, but it's got me
stuck in a research project.
I've tried just opening the text file in WordPad and copying the data
directly into R, but it's too big and causes the program to crash.
Any suggestions or assistance? I'm kinda desperate and
2006 May 01
4
When to make a new controller
Hey all,
Ok this is probably a newb question, but I haven''t been programming with
MVC for very long, and I''ve been wondering what the general opinion is,
or best practices, for making a new controller. Like what cases would
you need a new controller for and what cases can you just put everything
into one controller?
Thanks in advance,
Randal
--
Posted via
2006 Apr 11
7
WOW
I couldn't help but take notice at some of the responses that were coming in
from when I was posting questions due to my ignorance of Linux. Some people
were quick to help, some advanced users I am sure ignored me because im not
worth their time, and then some other users tried to help but was unable to
dumb their speech down to newb levels. However I am thankful that there is
people here to
2004 Feb 04
1
particular problem
Hello to everyone,
my problem to many of you will be quite simple to others quite hard (like
me) I have had no previous experience with webmin of samba so im kinda new
to this.
My problem is that everytime i access my samba share (on my debian system)
on windows and want to either play an mp3 or watch a film or get some
college work, Windows Xp pro freezes the hell out of my computer. I am
2009 Jun 19
1
Session Reset when clicking back button of the browser
hi friends...
here is my query....
kindly give ur views pls...
after logging into the application,i redirect to company list page.now
when user clicks the browser back button it should show the login
page.that is i want to destroy the session.so in my login controller i
have written code below.
def log_in
if request.get?
reset_session
end
end
in my routes.rb
map.root :controller =>
2005 May 24
4
Rings - How to set number
Maybe this marks me as a real newb but where do I set the number of
rings that a phone has before it sends it to voicemail?
Also for some odd reason when I ring an extension attached to my
sipura 2100 ATA it takes it about 12 seconds to start ringing after I
dial it (sits there with dead air on the calling phone).
Any idea on these, am I missing some simple configuration switch for either?