Displaying 20 results from an estimated 4000 matches similar to: "could you give me a hand?"
2005 Dec 29
5
help with installing login_engine
Hello,
I did a script/plugin discover
then script/plugin engine
then script/plugin login_engine
The discover worked, but I get engine and login_engine not found.
I am using a Mac
Thanks
Frank
2005 Dec 29
5
Subversion graphical client?
Hi All -
I notice that most of the Rails team are using Mac OS X and TextMate for
Ruby development. I too am working on Mac OS X and trying TextMate and
(shudder?) EMacs.
I was wondering about version control. Are folks using Subversion? If
so, are they using a graphical client? Which one do they recommend?
Yours,
Jordan
--
Posted via http://www.ruby-forum.com/.
2005 Dec 17
2
Encrypting files
Anyone know of a good (fast) way to encrypt/decrypt uploaded files in
RoR? I''ve seen this project: http://ezcrypto.rubyforge.org/ but it
only seems to encrypt strings and such. I need to encrypt files once
they are uploaded, then decrypt them when they request the file back.
Any ideas?
Thanks,
Mark
--
Posted via http://www.ruby-forum.com/.
2005 Dec 26
2
resorting a dataset
Quick question to see how I might re-sort an Activerecord data set. Let''s
say I have this table:
tablename: testscores
| id | student | score | avg_for_year
1, steve, 85, 82
2, tom, 84, 92,
3, jim, 92, 95
In my controller, I have something like:
t= Testscores.find(:all, :order => "score DESC", :limit => 2)
...where it would return the records for Jim and Steve....
My
2005 Dec 16
5
Question: image_tag(source, options = {})
image_tag(source, options = {})
Ok, when I want to use an image I added the following code:
<%= image_tag "dsf.jpg" options = {[align="right", style="padding-right:
10px; padding-top: 5px;"]} %>
However, this doesn''t seem to work, it doesn''t like how I have the
"options" part setup. I''m sure there is something very easy
2005 Oct 11
4
Searching an attribute in a hmabtm relationship
(Nuby to Ruby and Rails...)
I''ve implemented security using the login generator in a simple app so
that I have a user table, a roles table, and a join between them
(roles_users). All works as expected. I now need to check if a user
has a specific role, but my approach is off somehow.
Here''s what I''ve tried thusfar:
user_roles = @session[:user].roles
2005 Dec 21
8
textilize - redcloth
Hi,
I''m using textilize with redcloth 3.0.4. Everything works best except
that paragraphs are not translated as an HTML paragraph
When I write something like:
*first paragraph*
second paragraph
the output is without paragraph:
*first paragraph*
second paragraph
Any help??? Thanks
Jörg
2006 Mar 08
2
RailsConf speakers
Does anyone have a clue as to when the railsconf speakers will be
announced?
Thanks-
-Ezra Zygmuntowicz
Yakima Herald-Republic
WebMaster
http://yakimaherald.com
509-577-7732
ezra@yakima-herald.com
2005 Dec 28
8
Rails app lags after inactivity
Hi all. I have two Rails applications. Each is on its own VPS hosted by
Pipespring (excellent service btw).
My app runs lightning quick - AFTER the first load. If I visit my site after
a period of inactivity (i.e. no visitors to my site), it takes up to 10
seconds to load that first time. After that I can hop around with no
problems.
Has anyone run into this before? Ideas?
- Rabbit
2005 Dec 16
1
500 Error Page
I have an error page defined in my .htaccess file and I''m in production
mode.
Sometimes I still get the Application Error (Rails) white page though. In
this case there was a nil object that I tried to access in a controller
without first checking if it was nil.
How does Rails decide what error page to display and how can I get the
pretty error page to display more often?
Thanks.
2005 Dec 16
2
Is this possible?
Hello Friends,
def new
@invoiceitems = Invoiceitems.new
@oldinvoiceitems = Invoiceitems.find(:all, :conditions
=>[''invoice_id = :invoiceid'', { :invoiceid => params[:id] } ]
end
Error is being shown in the line number with ''end''.
This is for initialising a new invoiceItems object and also finding and
storing all the invoice items for a
2005 Dec 24
2
Variable dumper
Hi there,
I am newbie both in Ruby and in Rails. My experience is mostly PHP.
In PHP, there is a var_dump($mixed) function that dumps the object
$mixed to std_out. This is helpful to see the curent value of a
variable, of if it is an object, everything that is in the object.
Is there an equivalent methods in RoR?
Thanks,
Ezra
--
Posted via http://www.ruby-forum.com/.
2005 Dec 26
2
confused about ruby fast C bindings
I am confused about ruby fast C bindings. Does the command:
gem install mysql
install these?
Is this page:
http://www.tmtm.org/en/mysql/ruby/
the home page for these bindings? If so, it gives no instructions about
installing them with using gem.
Wondering if this is all the same???
Thanks for any help...
Shelby
_______________________________________________
Rails mailing list
2005 Nov 09
1
Enterprise Integration with Ruby - Beta book
I saw this mentioned on Dave Thomas''s blog
http://blogs.pragprog.com/cgi-bin/pragdave.cgi/Tech/Ruby/EIR.html
and don''t remember having seen it announced on this mailing list. This
new Beta Book is at
http://pragmaticprogrammer.com/titles/fr_eir/index.html
regards
Justin
2005 Aug 14
1
Rails Movie for fun
Hey, just put together a small swf movie of the app I''m working on.
The first frame shows just a test frontend index page. The rest is all
backend. I didn''t include showing what code gets generated etc as it
would make the movie way too long. But figured some people might enjoy
watching.
http://mtvsucks.org/first_rapture.htm
-Paul
2005 Oct 14
1
Detecting Webrick // determining application "root" directory
Is there a way to detect Webrick at runtime? I''ve
noticed a couple of differences between my dev
environment (Webrick) and the production environment
(Apache 2/FastCGI):
* stream must be false in send_file with webrick
* pwd is different
- Webrick: It''s where you run ruby
script/server from
- Apache: It''s the public directory
... unless someone
2005 Oct 24
3
Unable to use forms after login generator
I''m using rails 1.8 and login generator 1.1. I''m using rails to manage the
contents of my website. I decided to put an admin page for the content
management. For the sake of convenience, I used Login Generator. Now when I go
to edit or create new content (for now, just posts), it gives me the following
error (this one is for new posts):
NoMethodError in Goblin#new
Showing
2005 Dec 15
3
session scope?
Hi all,
I''m working on a Rails application. In this application I retrieve a list of
''brands'' using a method somewhere defined in my controller:
private
def get_brands
@brands = Product.find_by_sql("select distinct brand from products");
end
However, I display this information in a listbox in the template for my
controller.
This means @brands
2005 Dec 29
3
NoMethodError problem
Hello.
Id like you to help me with something here, i m trying to create a log
manager just for fun but I cant make it work since the beginning.
I created my project, configured the db, initialized my model Log and
then my controller Log, then im just trying to use scaffold :log for the
controller but I cant make it work, the error says:
undefined method `errors'' for
2005 Oct 15
14
OT: Anyone Using a Time Logger?
I have multiple projects and it''s important for me to track time by client
and by project. There''s a Windows application that allows me to do this, but
I''m looking for a cross-platform solution.
I looked at ConsultComm but it wouldn''t install on my Mac. Rather than
rewriting what seems like a commonly-required app, I wondered if anyone else
had something they