Displaying 20 results from an estimated 400000 matches similar to: "simple problem with "/" character"
2006 Jun 20
5
ActionMailer to send to multiple people
I''ve been working with ActionMailer for a few days and finally have a
pretty good grasp of it. In the book I''m reading, it shows how to send
to multiple users or an array of users.
Is there a setting or some configuration I can do to send the email to
each person separately, or would I just need to loop through each user
and send one email at a time?
What is the best way to
2006 Jun 07
7
file_column image versions
does anyone know much about resizing different versions of images with
file_column? i tried it and everything works fine, but my question is
can you do more than just make sizes with a version of image? i''m
working on a photo album and i would like to resize the image to a
medium size, but create a thumbnail as well and crop anything left to
make the thumbnail a perfect square.
--
2006 Jul 15
4
learning from typo.
i have a copy of the typo source on my desktop that i am going through
just to get a better understanding of the rails framework and ruby
itself. i''m fairly new to everything so it has proved to be very helpful
and very inspiring.
i''m stuck on a part though. i was trying to figure out how everything on
the sidebar works. i found the components folder and started looking
2006 Aug 04
3
forms and relationships
i''m still pretty new to rails, and while i''ve been able to hack my way
into having it do what i want so far, i''m not happy with the way my code
looks. on top of that, i''m sure that what i''m doing prlly isn''t the most
efficient either.
one of my biggest problems is probably to do with using relationships
and forms together. i''ve
2006 Jul 05
5
ok, lightTPD is installed... how do i use it.
i used the hivelogic article to install ruby on rails to my mac:
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
everything works great using the script/server command, but isn''t that
still using WEBrick? how do i server my apps with lightTPD?
i tried following the instructions given here:
http://duncandavidson.com/essay/2005/12/railsonlighty
but have had no
2006 Jun 06
3
help with date formats
i have a datetime field in my database that i need broken up. i want to
display the date and the time in separate places. i tried looking
through the api, but couldn''t find what i was looking for.
if someone could please point me in the right direction to format dates,
that would be great. thanks
--
Posted via http://www.ruby-forum.com/.
2006 Apr 28
5
please explain web services
could someone explain some of the uses for a web service. i''m reading
about how to make them, but i''m still not quite sure what they''re good
for.
i have multiple rails apps that i would like to pass user information
back and forth to. i''m not sure if something like this could help me or
not.
thanks
--
Posted via http://www.ruby-forum.com/.
2006 Apr 26
5
one authentication for multiple rails apps
i am in the process of taking all of our php applications for the
company i work for and rewriting them in ruby on rails. just to help
with username and password management, i had a program where we could
create a user and then assign what other programs they had access to, so
that they would only have to log in at one place and have access to all
of the software.
i''m not sure of
2006 Mar 29
2
active record basics
i am reading Agile Web Development with Rails and i have some noob
questions about it. i''ve gone through the depot application with hardly
any problems and now i''m reading through the chapters that explain some
of the deeper facets of rails.
on chapter 14 it starts talking about active record. all the sudden,
it''s showing examples of how to connect to the database.
2006 Mar 25
2
where is the root?
reading through Agile Web Development with Rails, i am almost completely
through with the chapters explaining the depot shopping cart
application. everything has worked fine except for one thing, i still
have to go to http://localhost:3000/store to get to the first page. if
someone just goes to http://localhost:3000/ it will still show the
welcome page for Ruby on Rails. what if i want some
2006 May 02
0
RE: Rails Digest, Vol 20, Issue 39
All assumptions aside, "rectest" and "salt" are usernames not
databases/schemas according to the pasted config. If they were in fact
different databases/schemas, this problem could never have happened. While
different database brands may have tricks for ways to handle users and what
they perceive as a database/schema, the fact remains that if 2 literally
separate databases
2006 Mar 27
3
any luck installing RoR with apache / cpanel setup?
i just went through installing RoR on a cpanel setup and everything
seems to work except for deployment. i go through the entire process of
setting up a new rails app on a cpanel account and i get:
Not Found
The requested URL /testapp/index.html was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use
an ErrorDocument to handle the request.
2006 Mar 21
1
RoR on Jaguar anyone?
I installed RoR on my Mac with Tiger10.4. Everything seems to work fine.
I installed it on my other mac using 10.3 and at first it worked fine,
but when I started using apps with a database, sometimes the server
crashes on certain pages. I''ve been trying to locate the source of the
problem, but the crashes seem pretty random.
I''m wondering if this has anything to do with the
2006 Jun 19
1
pdf simpletable help needed
i am trying to generate a pdf of all of the users in an application that
i have built. i am still pretty new to ruby and rails so i don''t know
the best way to go about it.
here is my controller code:
require ''pdf/writer''
require ''pdf/simpletable''
class ReportsController < ApplicationController
def test
_pdf = PDF::Writer.new
table =
2006 Aug 07
4
multiple habtm joins on the same two tables
i have a taskmanager type of project that i am working on, where i need
to separate joins on the same two tables. i need one join for users that
are assigned to the task, and another join for who has read the task, so
they can tell which ones are new.
any suggestions on the best way to accomplish this?
thanks
--
Posted via http://www.ruby-forum.com/.
2006 May 30
3
plz help ~> new to file_column
i am trying to figure out how file column works so i can play with it a
little bit on my site. i have installed it as a plugin to my rails
application, copied the snippets on both model and view but when i try
to run the page, i get an error saying "undefined method
`file_column_field''"
did i do something wrong or is something not installed?
--
Posted via
2006 Apr 28
0
RE: Rails Digest, Vol 19, Issue 784
I am having a bit of trouble with the error. I hava a product and category table and wanting to display the categories in a drop down list. Below is the error I get. Any suggestion on how I can fix this.
undefined method `name'' for #<Category:0x3652448>
9: <select name="product[category_id]">
10: <% @categories.each do |category| %>
11:
2006 Jun 29
3
String: first character upcase?
Hi all
Is there a function that makes the first character of a given string
upcase?
first_to_upper "canada"
Thanks for help. :-)
Joshua
--
Posted via http://www.ruby-forum.com/.
2008 Dec 28
1
escape character problem
Hi, i need to construct a link as following
"<a href=\"#{CONFIG[''URLS''][''Xyz'']}\#{url}\"#{tag_options}>#{name ||
url}</a>"
But here due to escape character #{url} not give actual value it
treated as a string. how to solve this ?
if i do
"<a
2006 Aug 07
2
converting pdf to images
i am working on a catalog for our customers to order printing. i have
worked a little bit with imagemagick and pdf_writer. currently i am
uploading a pdf and an image for the preview of the file. i''m just
wondering if there is a way to convert a page of the pdf to a jpeg so
that i only have to upload once.
--
Posted via http://www.ruby-forum.com/.