Displaying 20 results from an estimated 1100 matches similar to: "Easy Newb Question"
2006 Mar 08
8
Acts_as_authenticated plugin?
Hi,
I''ve just downloaded the acts_as_authenticated plugin but I can''t find much
in the way of documentation.
First is there anywhere that someone could point me to to get a handle on
this.
Second.. Does the plugin still require the use of generators to use?
Thanx in advance
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Feb 14
2
Inline list editing with RJS: best practices
I wanted to get the community opinion on the best way to use partials and
inline list (<li>) editing.
I have a very common scenario where a list is rendered:
--- index.rhtml ---
<ul>
<%= render :partial => ''item'', @collection => @items %>
</ul>
--- _item.rhtml (simplified) ---
<li id="item_<%= item.id %>">
<div
2006 Mar 07
4
Edge Rails - same code, different issues on mac and windows
Trying to get an app up and running with Edge Rails, and I''ve run into
different issues on Mac and Windows with the exact same code. It''s similar
to the issue posted in the previous RJS/Edge Rails thread, but I didn''t see
any answers in there (maybe I missed the real answer?) Both console/error
outputs listed below:
I can''t even get WEBrick to start on
2006 Mar 19
1
Rendering Partials w/Collections - is there a way to find the position?
This seems obvious, but I wasn''t able to find info on it easily. If
you are rendering a partial from a collection:
<%= render :partial => ''message'', :collection => @messages %>
Is there a way inside the partial to tell what item in the collection
you are on? For example, if I am in the first element in the
collection, I want to do something different?
2006 Feb 24
2
Model Inheritance?
Hello,
I need some help with designing a model I have in mind. I''m not sure
what the best way to do it in Ruby/Rails is, or even if what I''m
thinking is possible.
Basically, I have a system where I want to treat everything as a
"message." A Message is a basic model object with a title and
message_text. It can stand on it''s own, or it can be
2006 Feb 26
6
Having trouble getting Edge Rails running
Hello,
I''ve been playing with this for hours, and got through a couple glitches
(e.g. updating to Ruby 1.8.4) but this one is well beyond my N00b
skills. When trying to run script/server I get:
./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:87:in
`as_load_path'': stack level too deep (SystemStackError)
from
2006 Jan 24
2
webrick and in_place_editor_field
I''m having a strange problem with webrick spinning forever. I have a
view ''list'' that renders a collection:
<%= render :partial => ''item'', :collection => @items %>
The item partial looks like so:
<div id="item_<%= item.id %>">
...
<div id="price">
<%= in_place_editor_field :item, :price
2006 Feb 19
2
Sortable list (scriptalicious) and updating database
I have made a sortable list which is sortable by dragging & dropping the
list elements. It works, but the order of the elements will not be
updated in the database. Hopefully someone could help me, or tell me
what I''m doing wrong.
Thnx!
Rgds,
Eric
Controller: album_controller.rb
class AlbumController < ApplicationController
def show_sort_album
@photos =
2006 Jan 21
1
Sortable Element with Partials?
Hi Everyone,
I posted this last month and unfortunately, I didn''t recieve any
replies. Maybe this time I''ll have better luck. I originally had my
sortable element list working properly like so:
<ul id="sortable_list">
<% @items.each do |item| %>
<li id="item_<%= item.id %>"><%= image_tag "dragme.gif"
2006 Feb 18
4
verifying best practice
i have a Project model, which belongs_to :user
when i add a project, the users_id is based on the session[:users_id].
to get the users_id into the projects table, i''m doing this:
@project = Project.new(params[:project])
@project.users_id = session[:users_id]
this is working, i''m just verifying this is the best way to do it.
2002 Nov 12
7
Switching to another Samba server
I've been running Samba 2.2.2 for a while as a domain controller on my
mostly Windows network. It's been working great up to this point.
Anyway, I just put together a new Linux server and installed 2.2.2 on it
as well.
I copied the conf file and pretty much mirrored everything on the
existing server, changed the paths and the "workgroup" field in the conf
file to match the new
2009 Jan 13
5
acroread = resource hog
Any have trouble with acroread taking up massive cpu and memory?
I exited my Firefox browser and the lil bastard was still hogging up
my resources.
Took up 69% of 4GB, and wouldn't let go, until a kill -9 showed'em,
have to do it every time I open a pdf in firefox.
Any use Xpdf or something else?
2006 Feb 19
4
is "display" a reserved name of some sort?
A view display.rhtml sees no controller state variables set in the
corresponding display action. Why?
-- fxn
2008 Jul 13
4
screen command
Anyone know which rpm give you the screen command?
Or tell me how to figure this out on my own :-)
Ed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20080713/98397ee7/attachment-0002.html>
2002 Sep 24
1
Anonymous access to Samba, or something like it?
I know, why IIS when I can Apache? I'm actually running both... Kind of
a hybrid network. Anyway, I'm trying to configure IIS to use a Samba
share as its www root and I think I'm running into a security issue.
See, in IIS, I have to connect as a specific user when I attach a
network share as the www root. The share, from Samba's point of view,
is read-only and every file in it
2006 Feb 19
2
How far can you get without learning Ruby?
This has been my little experiment for the last few weeks. I jumped straight
into rails after a few tutorials and have been using "Agile Web Development
with Rails" as a reference. I picked up the Ruby syntax from examples which
was not hard to do as I know various other languages. I''ve started 3
database driven web apps and all was going really well. Rails is fun and
2006 Jan 24
8
scriptaculous sortable
Hi,
maybe I am using this the wrong way but I have a list as follows
<ul id="secondlist">
<li>bla bla</li>
<li> bla bla </li>
</ul>
and then I add dynamically further <li> elements and create a Sortable
but the onUpdate only fires for <li> items that have not been created
via Javascript.
Any clues?
<script
2009 Apr 14
3
Ring All Queue
Is there a way in the dialplan to figure out which agent in a ring all queue answered a line? I'd like to take specific action based on the agent upon hangup.
Ryan M. Colbert
Director of Information Technology
Rissman, Barrett, Hurt,
Donahue & McLain, P.A.
201 E. Pine Street, Suite 1500
Orlando, FL 32801
(407) 517-3105 - Direct Telephone
(407) 839-0120 - Main Office
(407) 841-9726 - Fax
2006 Feb 10
2
Sortable + Draggable : doesn''t follow the mouse horizontally
When a ''draggable'' element is made ''sortable'', it no longer follows the
mouse horizontally when you drag it.
Is there a solution/workaround?
TIA
Alain
2010 Aug 20
3
Load at 5, no CPU I/O or swap in use
We are currently running CentOS 5 update 4 on a Dell R910 server 16
cores/32 hyperthreaded with 64GB of memory. It is our main Oracle 11g
DB server for one of our customers and is attached to an MD 3000
storage array. We are having a load averaging around 5 but see no swap
in use, CPUs are pretty much idle and no I/O wait. We have Oracle
dataguard turned on in transactional mode. I've checked