On 23 April 2010 22:54, Dani Dani li...@ruby-forum.com wrote:
Thank you all.
Why not use scaffold in production ?
I know some are not keen on scaffolding, but personally I found it
useful when getting started as it allows one to get to something that
provides basic functionality without
On 24 April 2010 05:43, Tony Augustine li...@ruby-forum.com wrote:
hai friends can anone help me to provide a way to implement the
following using rails.
i created a mail campaign application.if a user successfuly
created a campaign he will be getting a mail.
1. how i can
Colin Law wrote:
On 24 April 2010 05:43, Tony Augustine li...@ruby-forum.com wrote:
hai friends �can �anone �help me to provide a way to implement the
following �using �rails.
�i �created a �mail campaign �application.if a � user � successfuly
created a campaign he �will be �getting a mail.
To have a shot at 3.0.0.beta3, I had just been trying rails g
scaffold welcome , then it come up I get a routing error to css which
will never display :
Started GET /welcomes for 93.34.177.137 at 2010-04-24 08:52:49
Processing by WelcomesController#index as HTML
Rendered
... i miss that no touch to config/routes.rb has been done after
scaffold generation:
r...@webby2066:/var/test/uno# rake routes
(in /var/test/uno)
GET/welcomes(.:format)
{:controller=welcomes, :action=index}
welcomes POST /welcomes(.:format)
{:controller=welcomes,
On 24 April 2010 08:59, Tony Augustine li...@ruby-forum.com wrote:
Colin Law wrote:
On 24 April 2010 05:43, Tony Augustine li...@ruby-forum.com wrote:
hai friends �can �anone �help me to provide a way to implement the
following �using �rails.
�i �created a �mail campaign �application.if a �
Help please. My first attempt at Rails, I'm trying to use PostgreSQL
and I'm seeing this error. I'm also new to PostgreSQL, but the
default encoding in PostgreSQL appears to be SQL_ASCII. I'm not sure
if I should try and get the patch or try and change the PostgreSQL
template. Sorry I'm so
Let me know if you are interested
Title: Ruby on Rails Web Application Developer
Location: Hillsbroro, OR
Duration: 6+ months
Required Skills: Ruby on Rails framework. MY SQL, BRIO, HTML, CSS,
AJAX, Oracle, UNIX, Linux
Summary/Description of Position
The Web Application Developer is
Maybe I just need to ask it this way:
At the end of every action the render function is called
automatically with no options (unless the programmer explicitly calls
it).
Any clues as to how I would override that method to modify the folder
path for the view files?
Any tips would be heaps
This's what my think. use sql log you can see more details.
2010/4/24 Will Prater dataf...@gmail.com
I've fixed my issues. Should have been using joins vs includes as
there was really no joins happening with eager loading.
On Apr 23, 11:14 am, Will Prater dataf...@gmail.com wrote:
Hi,
I'm racking my brain with this and I know there's an easy way to do
this.
I have a Model.find result array. I need to check to see if a value
exists in that array result. Array.include? always returns false I
assume cause its an array of objects. So how do I search the resulting
array??
--
You
cootcraig wrote:
Help please. My first attempt at Rails, I'm trying to use PostgreSQL
and I'm seeing this error. I'm also new to PostgreSQL, but the
default encoding in PostgreSQL appears to be SQL_ASCII.
You should always use UTF8 for your database. If you do that, you'll be
able to
Never mind.. I was searching on the value and not checking if the
class exists in the array.. duh..
On Apr 24, 9:23 am, MJFuzz mjaff...@gmail.com wrote:
I'm racking my brain with this and I know there's an easy way to do
this.
I have a Model.find result array. I need to check to see if a
rails.n...@gmail.com wrote:
Maybe I just need to ask it this way:
At the end of every action the render function is called
automatically with no options (unless the programmer explicitly calls
it).
Any clues as to how I would override that method to modify the folder
path for the view
MJFuzz wrote:
I'm racking my brain with this and I know there's an easy way to do
this.
I have a Model.find result array. I need to check to see if a value
exists in that array result. Array.include? always returns false I
assume cause its an array of objects. So how do I search the
Colin Law wrote:
On 23 April 2010 22:54, Dani Dani li...@ruby-forum.com wrote:
Thank you all.
Why not use scaffold in production ?
I know some are not keen on scaffolding, but personally I found it
useful when getting started as it allows one to get to something that
provides basic
Hello there. When I was starting with Rails last month, I have tried a
lot of books and not finishing everyone of them. It was that the books
I found was outdated, they're too technical for me to grasp or they
just threw lines in which I have to type without explaining what they
did sans Rails'
gedit + plugins works for me :D works like textmate, it has snippets
that you could modify, auto indention, auto bracket completion and
even an embedded terminal. plus the directory on the sidepane. syntax
highlighting works on ruby, html, and css.
On Apr 23, 11:53 pm, Greg Donald
On 24 April 2010 14:34, Marnen Laibow-Koser li...@ruby-forum.com wrote:
Colin Law wrote:
On 23 April 2010 22:54, Dani Dani li...@ruby-forum.com wrote:
Thank you all.
Why not use scaffold in production ?
I know some are not keen on scaffolding, but personally I found it
useful when getting
Colin Law wrote:
On 24 April 2010 14:34, Marnen Laibow-Koser li...@ruby-forum.com
wrote:
But what's going on is easy enough to understand and fundamental.
I am not sure that it is necessarily easy to understand for the
absolute beginner.
Perhaps not, but it's necessary to understand it
You're using PostgreSQL on Ubuntu, right?
On Sat, Apr 24, 2010 at 9:27 AM, Marnen Laibow-Koser
li...@ruby-forum.comwrote:
cootcraig wrote:
Help please. My first attempt at Rails, I'm trying to use PostgreSQL
and I'm seeing this error. I'm also new to PostgreSQL, but the
default
Maybe this can help:
include ActiveSupport
TimeZone.all
pepe
On Apr 23, 10:51 pm, Morgan Morgan li...@ruby-forum.com wrote:
Is there a way to list the time zones that rails makes available (it
seems to function only on cities)?
I figured out how to get that list at the command line in rake
Actually my development server is FreeBSD. My workstation is Vista 64
and I'm using VirtualBox to run 2 VM's: FreeBSD as the server with
PostgreSQL,Apache,Rails. Ubuntu as a client.
I plan to reinstall PostgreSQL setting the template encoding to UTF8
I guess I'm not so much confused as slogging
Hello,
I have readed whole topic and I have done everything what was wrote
above but the error is still showing.
I have attacher a photo with error message.
I am complete newbie and simply I need some on start.
Hope somebody will help me.
Attachments:
Yudi Soesanto wrote:
Thanks for your reply Bill.
I don't have RDS instance set up yet. I am blank about RDS stuff.
Maybe, you could help me? Any documentation how to setup RDS instance?
Don't you think you could get that documentation more readily from
Amazon/AWS's website? Why ask here?
Hi all,
Supponsing I have this:
class Post ActiveRecord::Base
end
class Comment ActiveRecord::Base
belongs_to :post
end
How can I make (on Rails 3) on the CommentsController to respond with
a json object including the related Post?
Thanks!
--
You received this message because you are
Hi,
My S3 bucket is located in the US
I have attachment_fu working when using file system storage
I have sw-swf upload plugin working with my S3 account
but I can not get attachment_fu to work with S3 storage.
the error I get is :
AWS::S3::RequestTimeout in Upload filesController#create
Your
Im ready setting up a CentOS 5.4 new secure server for hosting Rails
applications,
only the deployment setup is causing me mayor headaches.
I use:
- CentOS
- PHP-PFM
- Nginx
- Ruby Enterprise and Passenger
What I would like to do, and ask some advice for the tools I could
best use for
OneLogin has put together a SAML toolkit for Ruby on Rails and we're
about to kick-off the implementation with two very successful Rails
sites who will be adding SAML for their enterprise customers.
We are providing the SAML toolkit free or charge and it will
eventually be available on github for
I am an absolute beginner.
Tried to install RoR on our server.
You can view the log at
http://docs.google.com/Doc?docid=0AUIy-caPIiXgZDgzaDM0cV8xOTBnZm5ycWZnOAhl=en
In the end, I was expecting some sort of answer to the command
#which ruby
instead, there is no answer as nothing was
I'm trying to create several large applications that share 60-80
percent of their functionality. I'd like to find some way to abstract
the common functionality into a gem, plugin, or engine which I can
then deploy as many times as needed for each application. The catch is
each app will definitely
Hi Colin,
I had to work on adding authenticated users to my app, so I had to
back-burner the conditional-link issue. I nevertheless would like to
keep trying to learn how to do this. Maybe CSS is the way to make the
link switch between visible or not depending on context. (Just my
inspiration
On Sat, Apr 24, 2010 at 2:53 PM, RichardOnRails
richarddummymailbox58...@uscomputergurus.com wrote:
I had to work on adding authenticated users to my app, so I had to
back-burner the conditional-link issue. I nevertheless would like to
keep trying to learn how to do this.
You're making this
On Sat, Apr 24, 2010 at 6:49 AM, octopushole octopush...@gmail.com wrote:
In the end, I was expecting some sort of answer to the command
#which ruby
instead, there is no answer as nothing was installed.
Since everything in that log refers to 'ruby1.8', maybe you should try
`which ruby1.8`;
Hi, could anybody offer some insight on this? Thanks
On Thu, Apr 22, 2010 at 4:53 PM, poolbastard hgc...@gmail.com wrote:
Hi group, I'm just wondering if anyone has any experienced having a
custom socket app, unique port, etc on a shared environment; I'm sort
of convinced I would need at
Marnen Laibow-Koser wrote:
Mike P. wrote:
Marnen Laibow-Koser wrote:
Mike P. wrote:
Hello,
I've decided to use multiple tables for an entity (e.g. todo_items1,
todo_items2, todo_items3, etc.), instead of just one main table
which could end up having a lot of rows (e.g. just todo_items).
I have an app where I'm trying to parse some data and output to an ics
file.
I'm using the iCalendar gem and can't figure out how to correctly add
timezone tags to an event start and stop time.
I have the timezone data being added correctly, however when I create
a event, the DTSTART DTEND tags
Yeah it works fine, worked since the first beta.
On Ubuntu these are the packages I installed:
sudo apt-get install postgresql postgresql-client postgresql-contrib
libpq-dev
Then all you need is the pg gem mentioned in your Gemfile.
Maybe the fact you have the others installed is part of the
I have a table for private messages similar to:
PMS:
title
body
sent_to (foreign key to users table)
sent_from (foreign key to users table)
When I originally set it up I didn't have it automatically a users pm's
when that user was deleted. So...I have basically been manually
updating the
Hi guys!
There's a problem I'm dealing with since 2 days now and I haven't quite
figured out what's wrong in my code.
Here it is...
Suppose I've got a pretty simple blogging app which has stories and
comments.
The comments belong to the stories...
Here's the code:
#app/model/story.rb
class
I can't see where problem is, but I could tell you - don't you use
attachment_fu. Use paperclip. It so much faster and powerful.
Just try it and I believe the problem will go away without time-eating
solution.
On Sun, Apr 25, 2010 at 1:57 AM, Shai Sayfanaltman li...@ruby-forum.comwrote:
Hi,
In our world:
There are many landlords.
Landlords have many buildings.
Buildings have many tenants.
One way to structure the routes would be:
/landlords/:landlord_id
/landlords/:landlord_id/buildings/:building_id
/landlords/:landlord_id/buildings/:building_id/tenants/:tenant_id
... which
42 matches
Mail list logo