On 25 August 2010 21:04, Tim Shaffer wrote:
>
>
> On Aug 25, 3:35 pm, Bob wrote:
>> Apologies if this should be separated into a separate thread but this
>> reminded me of a question I had when writing some search methods
>> recently.
>>
>> What, if any, are the differences between the following
Hi All,
I am having a functionality of sending emails in my rails application.
Sending the emails is working properly but sometimes the email goes to
Inbox folder and sometime it goes to Spam folder. I am sending one email
at a time, there is no bulk/mass emails.
Does anyone have any idea regardi
I have table being filled by a partial. When the fields are filled,
the fields end up together or not there for half a page. See below. My
controller code and views are below..
controller:
@single = Array.new
for @h in households do
if @h.people.count == 1
@single << @h
David Furber wrote:
> If you are adding member methods like "add_content" and
> "delete_content" then you have left REST behind.
>
> I understand that a Service is a resource that has many Sections. The
> content already exists, but you want to add it to another section.
>
> HABTM associations ar
Any one can explain me
in agile web development book in chapter Cart Creation
depot_f/app/models/cart.rb
class Cart
attr_reader :items
def initialize
@items = []
end
def add_product(product)
@items << product
end
end
depot_f/app/views/store/index.html.erb
<%= button_to
sir actuallly the problem is in my model i am using has_attached_file,
in its helper definition its deleting files from my public folder.so
its getting deleted. is thre any methode to override that?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subsc
rajeevsharma86 wrote:
> Try some thing like this
> invoke this kind of method when needs to delete picture
>
>
> def delete_photo
> @object= User.find(params[:id])
> @object.update_attribute(:photo, nil)
> @object.save
> redirect_to @object
> end
>
>
> On T
On Aug 23, 7:18 pm, Sandy wrote:
> On Aug 23, 6:48 pm, Rob Biedenharn
> wrote:
>
>
>
> > On Aug 23, 2010, at 6:17 PM, Sandy wrote:
>
> > > On Aug 23, 5:05 pm, Rob Biedenharn
> > > wrote:
> > >> On Aug 23, 2010, at 4:15 PM, Colin Law wrote:
> > >>> On 23 August 2010 21:03, Bob Smith wrote:
> > >
Try some thing like this
invoke this kind of method when needs to delete picture
def delete_photo
@object= User.find(params[:id])
@object.update_attribute(:photo, nil)
@object.save
redirect_to @object
end
On Thu, Aug 26, 2010 at 10:24 AM, Tony Mathew wrote
Hi All,
i created an application to upload image files using paper clip
plugin,its working successfully,alsoi had a page which l;ists all
the images uploaded by the user.also there is a delete button to delete
the image from db by entering value in the deleted_at fileld in
database not remov
Chris Mear wrote:
> On 25 Aug 2010, at 19:04, Adam Lassek wrote:
>
>> Okay, that's what I needed to know. So this convention is limited to
>> encoding nesting relationships for Hashes, denoting Array values, and
>> it apparently originated from PHP. Still looking for the proper term
>> for this co
On Aug 25, 5:17 pm, Sandy wrote:
> On Aug 25, 10:39 am, Ar Chron wrote:
>
>
>
> > Sandy wrote:
> > > On Aug 25, 4:00 am, Colin Law wrote:
> > >> >> Combining the lists and putting them in alphabetical order will show a
>
> > >> Colin
>
> > > Ok, Bob,
>
> > > The problem now seems to be that ther
Hi Edmond
Thanks for your reply. The problem is not that. Even it enters in
rescue, it does not render :file => "#{RAILS_ROOT}/public/404.html". But
it continues execution and I get problem at @messages =
message_thread.messages
as nil.messages
Thanks
Tom
--
Posted via http://www.ruby-for
I have an admin section in my rails 3 app. where I want to use a
different layout than the main layouts/application.html.haml layout.
Here is the snippet of the admin_controller.rb:
class AdminController < ApplicationController
current_section :admin
layout :admin
.
.
end
Here are the
Yes, I put it before the end, then the is passed.
But the undefined method `paginate' for # is happened
again.
On 8月25日, 下午5時58分, Frederick Cheung
wrote:
> On 25 Aug 2010, at 10:42, Jeff Chen wrote:
>
>
>
> > I write the config.gem 'will_paginate' in the inside of
> > environment.rb, but got
David J. Hamilton wrote:
>> Hi Tim,
>> I implemented your changes. Unfortunately, I still got the same error. I
>> copied both the User and Jobs models, as well as the schema.rb file.
>>
>> Please let me know your thoughts.
>>
>> http://pastie.org/1116870
>
> You have a minor typo in index.html.er
> Hi Tim,
> I implemented your changes. Unfortunately, I still got the same error. I
> copied both the User and Jobs models, as well as the schema.rb file.
>
> Please let me know your thoughts.
>
> http://pastie.org/1116870
You have a minor typo in index.html.erb
<% unless @user.jobs == nil %
If you are adding member methods like "add_content" and
"delete_content" then you have left REST behind.
I understand that a Service is a resource that has many Sections. The
content already exists, but you want to add it to another section.
HABTM associations are usually processed by a list of c
Did you read "Rework"? Do you like the ideas presented? Do you want to
live anywhere you want? Do you want to work anytime you want? Are you
good with Ruby and Rails? Does working remote make you more productive?
Do you understand what not dropping the ball involves? Do you want to be
the lead dev
Tim Shaffer wrote:
> On Aug 25, 9:09�pm, "Patrick L." wrote:
>> Thanks much.
> This is part of your problem:
>
> @user.jobs.find_by_user_id(@user.id, :all)
>
> Since you are accessing jobs through the @user instance, you don't
> need to specify the "find by user id". Rails already knows to only
On Aug 25, 9:09 pm, "Patrick L." wrote:
> Hello all,
> This is my first time setting up associations in Rails. A User :has_many
> Jobs, and a Job :belongs_to a User.
>
> Take a peak at this code and tell me what you think. For some reason,
> when I pull these jobs and try to iterate through to s
On 25 Aug 2010, at 19:04, Adam Lassek wrote:
> Okay, that's what I needed to know. So this convention is limited to
> encoding nesting relationships for Hashes, denoting Array values, and
> it apparently originated from PHP. Still looking for the proper term
> for this convention, but that's good
Hello all,
This is my first time setting up associations in Rails. A User :has_many
Jobs, and a Job :belongs_to a User.
Take a peak at this code and tell me what you think. For some reason,
when I pull these jobs and try to iterate through to show a list of Jobs
posted by a User, I get a strange e
I'm looking for a nice(!) way to specify multiple joins to the same
table where there are different conditions on each one.
I was hoping for something like this
class Model < ActiveRecord::Base
has_many :things
scope :some_things,
joins(:things).where('things.foo' => 'bar').
Michael Pavling wrote:
> On 25 August 2010 22:20, Michael Pavling wrote:
>> and has done since the first time I tried it in Jan 2009.
>
> Correction, it was April when I got debugging working :-)
Good to know. Maybe the problem had to do with using JRuby on this
project (which is a Swing/Monke
On Wednesday 25 August 2010, Bill Walton wrote:
> On Wed, Aug 25, 2010 at 3:22 PM, Michael Schuerig
wrote:
> > My ~/.netbeans/6.9 directory has grown to an amazing 856MB, largely
> > consisting of downloaded updates, I reckon.
>
> Ouch. OTOH, that's like $0.10 worth of storage now, right?
Yeah
Fernando Perez wrote:
>
> I fell into that trap a few times in the past, so now I can quickly
> notice it ;-)
>
Well I will definitely have to remember this, because that was extremely
frustrating haha.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are
On 25 August 2010 22:20, Michael Pavling wrote:
> and has done since the first time I tried it in Jan 2009.
Correction, it was April when I got debugging working :-)
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group,
On 25 August 2010 20:08, Bill Walton wrote:
> Sorry to jump in mid-stream here, but
>
>> On Aug 25, 12:29 am, Michael Schuerig wrote:
>
>>> > > Last week! I just found it too big and bloated for Rails needs
>
> Make sure you're using the Ruby-only version of NB unless you really
> need the ot
On Aug 25, 10:39 am, Ar Chron wrote:
> Sandy wrote:
> > On Aug 25, 4:00 am, Colin Law wrote:
> >> >> Combining the lists and putting them in alphabetical order will show a
>
> >> Colin
>
> > Ok, Bob,
>
> > The problem now seems to be that there is a Household model which
> > contains two fields
On Wed, Aug 25, 2010 at 3:22 PM, Michael Schuerig wrote:
> My ~/.netbeans/6.9 directory has grown to an amazing 856MB, largely
> consisting of downloaded updates, I reckon.
Ouch. OTOH, that's like $0.10 worth of storage now, right?
> Is there a way to delete the obsolete stuff without losing pr
On Wednesday 25 August 2010, Bill Walton wrote:
> Sorry to jump in mid-stream here, but
>
> > On Aug 25, 12:29 am, Michael Schuerig wrote:
> >> > > Last week! I just found it too big and bloated for Rails needs
>
> Make sure you're using the Ruby-only version of NB unless you really
> need t
On 25 Aug 2010, at 21:26, Xenio wrote:
Well that's that. Thanks for the clarification. So now thats out the
picture, what about this?
Is there a way to have php execute within a Ruby App. Can I put a php
file in the public directory that can access the DB in its default
directory?
Why would
On Aug 25, 3:35 pm, Bob wrote:
> Apologies if this should be separated into a separate thread but this
> reminded me of a question I had when writing some search methods
> recently.
>
> What, if any, are the differences between the following two find
> statements?
>
> On Aug 20, 2:33 am, Michael
Please quote when replying. Otherwise it's impossible to follow the
discussion.
Xenio wrote:
> Well that's that. Thanks for the clarification. So now thats out the
> picture, what about this?
>
> Is there a way to have php execute within a Ruby App.
Not really.
> Can I put a php
> file in th
Bill Walton wrote:
> You do see the test fail. Then you 'tell' it to generate the method.
> Again, it was a very brief demo. I may schedule a follow-up with the
> guy to see more. The thing that was really impressive is that he
> didn't switch from one tool to another. The degree of integration
Apologies if this should be separated into a separate thread but this
reminded me of a question I had when writing some search methods
recently.
What, if any, are the differences between the following two find
statements?
On Aug 20, 2:33 am, Michael Pavling wrote:
> On 20 August 2010 07:17, Srik
Hi Marnen,
On Wed, Aug 25, 2010 at 2:09 PM, Marnen Laibow-Koser
wrote:
> Perhaps you want Autotest? Again, no IDE necessary.
>
> (But I think method autogeneration in this case would be dangerous.
> Doesn't that mean you don't see the test fail?)
You do see the test fail. Then you 'tell' it t
Well that's that. Thanks for the clarification. So now thats out the
picture, what about this?
Is there a way to have php execute within a Ruby App. Can I put a php
file in the public directory that can access the DB in its default
directory?
On Aug 25, 11:37 am, Peter De Berdt wrote:
> On 25 Au
Bill Walton wrote:
> Hi Adam,
>
> On Wed, Aug 25, 2010 at 1:43 PM, Adam wrote:
>> Rake comes with great support for unit testing with Test::Unit out of the
>> box, you don't need an IDE to hook it all up for you. You can define a
>> Rake::TestTask and just run 'rake test'. Rails does this automat
Sorry to jump in mid-stream here, but
> On Aug 25, 12:29 am, Michael Schuerig wrote:
>> > > Last week! I just found it too big and bloated for Rails needs
Make sure you're using the Ruby-only version of NB unless you really
need the other stuff. There's definitely a difference. My first
e
Hi Adam,
On Wed, Aug 25, 2010 at 1:43 PM, Adam wrote:
> Rake comes with great support for unit testing with Test::Unit out of the
> box, you don't need an IDE to hook it all up for you. You can define a
> Rake::TestTask and just run 'rake test'. Rails does this automatically.
> RSpec comes with a
> Aptana, particularly
> RadRails/Studio for Rails 3, had still many problems of their own, last
> time I looked.
If that was Aptana Studio 2, it might be worth another look at Studio
3 beta. Works great for me with Rails 3. I'm on a Mac though, so can't
comment on how it looks or behaves under L
Rake comes with great support for unit testing with Test::Unit out of the
box, you don't need an IDE to hook it all up for you. You can define a
Rake::TestTask and just run 'rake test'. Rails does this automatically.
RSpec comes with a similar Rake task that's as easy to define.
If you really want
Owain wrote:
> On Aug 25, 6:16�pm, Marnen Laibow-Koser wrote:
>> >> object in your DB, I think. That will give you the queries you mention
>>
>> > pencil_booker, green
>> > And maybe this is the difference, this table DOES exist in another
>> > form in the RoR application that calls the webservice
On Aug 25, 6:16 pm, Marnen Laibow-Koser wrote:
> Owain wrote:
> > Marnen
>
> > Thank you for taking the trouble to reply.
>
> > On Aug 25, 5:40 pm, Marnen Laibow-Koser wrote:
> >> Owain wrote:
>
> >> No, I think it does. You *want* each resource to be a separate object
> >> in your application,
Okay, that's what I needed to know. So this convention is limited to
encoding nesting relationships for Hashes, denoting Array values, and
it apparently originated from PHP. Still looking for the proper term
for this convention, but that's good enough for now.
On Aug 25, 12:48 pm, Marnen Laibow-Ko
>
> I'll try to solve this with a locale and let You know...
>
> greetings
> Sven
hm, within a locale the german umlaute are allowed...
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post
After a lot of experimentation and reverse engineering the Rails 3
ActionView code, I figured out this solution: http://gist.github.com/549965
Hope it can help others with a similar need ;)
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
Marnen Laibow-Koser wrote:
> [Please quote when replying.]
>
> Adam Lassek wrote:
>> That's not all there is to it. There is also a convention using
>> parentheses to combine parameters together.
>
> Never heard of this. Example?
Oh, wait, are you talking about the (1i) used in date selectors?
[Please quote when replying.]
Adam Lassek wrote:
> That's not all there is to it. There is also a convention using
> parentheses to combine parameters together.
Never heard of this. Example?
Best,
--
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org
--
Posted via http://www.ruby-foru
Has anyone run into issues configuring memcached with rails3?
It seems that my app always expects memcached to be on the default
localhost:11211 even when my environment configuration says otherwise.
Perhaps rails3 needs memcached to be configured elsewhere?
Any help appreciated.
Thanks,
Ed
--
P
Can anyone recommend a good gem or plugin for autocomplete in Rails 3
that only needs jQuery?
I need to search multiple fields and multiple objects and display them
in a clickable auto-complete list.
Would it be best to just build this myself?
--
You received this message because you are subsc
>
> thank You very much for this hint! I'll give it a try in my next
> night-session..
>
> greetings
> Sven
Oh my god.
first of all, the mysql2 gem works fine - thanks for the hint!
But there's one more thing: I have lots of notices in my rails app like
"... wurde gelöscht". But whe
That's not all there is to it. There is also a convention using
parentheses to combine parameters together.
On Aug 25, 12:26 pm, Marnen Laibow-Koser wrote:
> Adam Lassek wrote:
> > Using "person[address][street_address]" to denote a nested Hash
> > structure is semantic,
>
> In what respect? It'
Adam Lassek wrote:
> Using "person[address][street_address]" to denote a nested Hash
> structure is semantic,
In what respect? It's abusing a particular form of HTTP parameter name,
true, but that's about it.
Rails' reservation of HTTP parameter names "controller" and "action"
might be consid
Using "person[address][street_address]" to denote a nested Hash
structure is semantic, and it is not part of the spec. you might think
it trivial, but not all frameworks behave in this way. So it is useful
to note that this convention exists and explain its rules. Agreed?
That's all I'm asking afte
Owain wrote:
> Marnen
>
> Thank you for taking the trouble to reply.
>
> On Aug 25, 5:40�pm, Marnen Laibow-Koser wrote:
>> Owain wrote:
>
>>
>> No, I think it does. �You *want* each resource to be a separate object
>> in your application, and you *want* each resource to be a separate
>> object
Marnen
Thank you for taking the trouble to reply.
On Aug 25, 5:40 pm, Marnen Laibow-Koser wrote:
> Owain wrote:
> > That could
> > be done by serializing the Set object but then I lose the ability of
> > database queries (in particular indexing performance gains) to do
> > something like, show
Robert Walker wrote:
> Madison Kelly wrote:
>> Can I ask a follow-up quesiton on how to set this up? I will have a
>> product
>> that can belong to one or many sub-catagories which in turn belong to
>> one or
>> many catagories. The same subcatagory name can belong to two different
>> catagories
Owain wrote:
> I am at the very early design stages of a web service to implement a
> "booking engine". I want it to be a generic in so far as the resource
> being booked could be anything, a tennis court, hotel room, ski chalet
> or airline seat. It's up to the client (RoR) application calling t
I found the file 'actionpack/template/template_test.rb', which shows
how to run simple templates:
def test_basic_template
@template = new_template
assert_equal "Hello", render
end
def test_locals
@template = new_template("<%= my_local %>")
assert_equal "I'm a local", render(
On Tue, Aug 24, 2010 at 6:06 PM, Dave Castellano wrote:
(sorry for the delay in responding, driving from Chicago to San Jose)
> I assume I would have to
> split my database into a "questions" and related "answers" table
> (currently questions and answers are attributes of "Question" in the
> sam
I am at the very early design stages of a web service to implement a
"booking engine". I want it to be a generic in so far as the resource
being booked could be anything, a tennis court, hotel room, ski chalet
or airline seat. It's up to the client (RoR) application calling the
webservice to dete
I saw a demo of VisualStudio's support for TDD for C++ (or C#, I can't
recall which) this past weekend and was impressed. Anybody know of an
editor or IDE for Linux (Ubuntu specifically) or Windows that has
built-in support for TDD for either Ruby or Rails?
--
You received this message because y
Hi,
I am trying to write an RSpec 2 extension, which lets me test my
templating view logic standalone without loading the "full rails",
including controller, routes etc. etc.
I simply want to be able to take a String in the form of a valid ERB
template and render it, where the @outputbuffer is on
On 25 Aug 2010, at 17:29, Xenio wrote:
I wasn't sure if this still fell under ROR or not. I figured since I
was usiing the Bitnami Rubystack that isntalls everything at once I
was maybe hoping someone else who uses that deployment package might
have a hint.
But I will look into the PHP, SQLite
Cool thanks for the direction.
I wasn't sure if this still fell under ROR or not. I figured since I
was usiing the Bitnami Rubystack that isntalls everything at once I
was maybe hoping someone else who uses that deployment package might
have a hint.
But I will look into the PHP, SQLite forums and
> Your attitude is similar enough to mine, if I understand it correctly,
> that I suspect if you try a good graphical editor like KomodoEdit or
> jEdit, you won't go back to Emacs in GUI situations.
*grin*. Certainly possible. I think I tried KomodoEdit, but that was
long while ago, who knows how
Xenio wrote:
> This situation is that I have an iphone app in development that uses
> the db. I just need to make the admin interface to edit the needed
> data. I'm starting to think Ruby was the worst choice for somethign
> non-standard like this.
Maybe; maybe not. It's not clear from your descr
This situation is that I have an iphone app in development that uses
the db. I just need to make the admin interface to edit the needed
data. I'm starting to think Ruby was the worst choice for somethign
non-standard like this.
But I'm pretty far in and I finished everything except the part where
Iain Davis wrote:
> This is discussion has been very helpful to me: I'm learning Rails
> (and Ruby), so far I've primarily been using Emacs and command line.
> But I also I had given NetBeans (and a couple of other IDEs) a brief
> try on the off-chance that I was missing out on something that I wou
This is discussion has been very helpful to me: I'm learning Rails
(and Ruby), so far I've primarily been using Emacs and command line.
But I also I had given NetBeans (and a couple of other IDEs) a brief
try on the off-chance that I was missing out on something that I would
like to have.
I found
Xenio wrote:
> Also I have apache running off port 84 and my ROR app running off port
> 3000. I can only get PHP to execute using the apache port.
>
> The issue is that I need to access the ROR db using the PHP file.
>
> How would I go about doing this so that the PHP script can "see" the
> ROR d
Hi everyone,
I need your help.
The purpose of Acts as Conference 2010 is to continue the momentum of
the software craftsmanship movement, something we in the Ruby on Rails
community care a lot about. I need your help in spreading the word to
make it happen. Please help by embedding the video link
Also I have apache running off port 84 and my ROR app running off port
3000. I can only get PHP to execute using the apache port.
The issue is that I need to access the ROR db using the PHP file.
How would I go about doing this so that the PHP script can "see" the
ROR db file located in its defau
Sandy wrote:
> On Aug 25, 4:00�am, Colin Law wrote:
>> >> Combining the lists and putting them in alphabetical order will show a
>>
>> Colin
>
> Ok, Bob,
>
> The problem now seems to be that there is a Household model which
> contains two fields, name and sname, each of which is the full name
Y
Mike Disuza wrote:
> Hi,
> I have to use the threads in my application .
Why? What are you trying to achieve? Just asking for a specific
implementation is not likely to be that helpful...
> Can anyone point me to any available tutorial of threads?
>
> Thanks,
> Mike
Best,
--
Marnen Laibow-Ko
2010/8/25 Mike Disuza
> Hi,
> I have to use the threads in my application .
> Can anyone point me to any available tutorial of threads?
>
Threading is not common in Rails. I just helped you googling for it.
http://bibwild.wordpress.com/2007/08/28/threading-in-rails/
>
> Thanks,
> Mike
>
---
Ed
Christopher Camplin wrote:
> Neha Chopra wrote:
>> This might be because your project doesnt contain the rake file.
>
> I think you need to make sure you have logged into your project using:
>
> $ cd myapp
>
> or similar
Thank you that helped!
Tags:
"rake generate_session_store" "No Rakefile f
Hello,
Sorry if this has been answered in old posts, I couldn't find anything.
This has been killing me all the morning :-( I'm a bit new to REST, and
I'm trying to model my app routes 'restfully', but I get lost on many
things.
I've been searching how to do this with resources:
I have a Service m
Thanks for the quick reply! I dont think making it a primary_key will
fix it. I came up with an idea of haveing a custom search form with a
dropdown menu of all the users and the value that would be passed would
be an id. I just dont know how to do that. I also dont quite get what
you mean by "
On Aug 25, 6:04 am, Sandy wrote:
> On Aug 25, 4:00 am, Colin Law wrote:
>
>
>
> > On 25 August 2010 08:02, Frederick Cheung
> > wrote:
>
> > > On Aug 25, 7:53 am, Bob Smith wrote:
>
> > >> The problem I'm having is in combining these two name lists into one
> > >> list, then putting it in al
2010/8/25 Zack Nathan
> Ok so I have two problems with activescaffold and searching. The first
> is an error I get when trying to search with the advance active scaffold
> search plugin. nothing happens and I get this error on the page:
>
> ActionController::UnknownAction (No action responded to
Hi All,
I need my application to have a module with email functionality.
This will have all functionalities of an email client. Each user will
have an inbox, outbox, sent folder, custom folders, sub folders etc.
They should be able to send, receive,forward, reply to emails.
Is there any gem/plug
On 25 August 2010 13:00, Marnen Laibow-Koser wrote:
> Colin Law wrote:
> [...]
>> it is an
>> overlying convention using field names to indicate the type and
>> structure of the data.
>
> In a sense, that's *always* what field names do.
>
>> In that sense it is akin to the microformat
>> concept.
2010/8/25 Tom Mac
> Hi
> I have the code
>
> def index
>@messages = message_thread.messages
> end
>
> private
>
> def message_thread
>begin
> current_user.message_threads.find(params[:thread_id])
>rescue ActiveRecord::RecordNotFound
>
The problem is here:
> logger.wa
Colin Law wrote:
[...]
> I think I can see what the OP is getting at here, and do have some
> sympathy with his point of view. The rails convention is that, for
> example, an input field with the name
> person[address][street_address]
> is used to indicate that a hash of the form
> { :person => {
Ok so I have two problems with activescaffold and searching. The first
is an error I get when trying to search with the advance active scaffold
search plugin. nothing happens and I get this error on the page:
ActionController::UnknownAction (No action responded to update_table.
Actions: attributes
Hi
I have the code
def index
@messages = message_thread.messages
end
private
def message_thread
begin
current_user.message_threads.find(params[:thread_id])
rescue ActiveRecord::RecordNotFound
logger.warn "No permission or thread_id nil"
render :file => "#{R
sorry :s, im just working with a deadline. Its a website for my local
gym (needs to be done by friday) and so the names will not change. I did
a google aswell, but I couldnt seem to find that, thanks though!
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are
I have solved all the previous problems today! thanks to all of you:)
On 23 August 2010 18:56, Irfan Ahmed wrote:
> Dear Gezope
> Thanks for your inspiration, as I am new in this framework and of-course to
> new real life programing concept!. Please help me if you feel free and have
> time! I wa
I have solved all the previous problems today! thanks to all of you:)
On 24 August 2010 17:09, Irfan Ahmed wrote:
> my ruby version is showing 1.8 and rails is 2.23
>
>
> On 24 August 2010 16:52, Jan Marquardt wrote:
>
>> On 08/24/2010 12:28 PM, Irfan Ahmed wrote:
>>
>>> in my depot application
Hi,
I have to use the threads in my application .
Can anyone point me to any available tutorial of threads?
Thanks,
Mike
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, se
On Aug 25, 4:00 am, Colin Law wrote:
> On 25 August 2010 08:02, Frederick Cheung wrote:
>
>
>
> > On Aug 25, 7:53 am, Bob Smith wrote:
>
> >> The problem I'm having is in combining these two name lists into one
> >> list, then putting it in alphabetical order.
> >> Name is for head of househol
On 25 Aug 2010, at 10:42, Jeff Chen wrote:
>>
>>
>
> I write the config.gem 'will_paginate' in the inside of
> environment.rb, but got below error msg:
>
> undefined local variable or method 'config' for main Object
>
>
> How to fix it? Thanks.
>
You're probably putting it in the wrong
Dear
On 8月24日, 下午4時01分, Frederick Cheung
wrote:
> On Aug 24, 8:36 am, Jeff Chen wrote:
>
> > Dear Madam/ Sir,
>
> > This is my first post, and I am stuck it for many months.
>
> > I have below error msg:
>
> > NoMethodError (undefined method `paginate' for #):
> > app/controllers/manage_contro
Hi all,
I have a need to have another folder called custom-layouts which would
have some of the layout files.
My doubt is that,is it possible to have a folder like this and configure
rails to look into this custom folder for layouts as we do for adding
custom plugin paths in environment.rb.
Any
On 25 August 2010 08:02, Frederick Cheung wrote:
>
>
> On Aug 25, 7:53 am, Bob Smith wrote:
>
>>
>> The problem I'm having is in combining these two name lists into one
>> list, then putting it in alphabetical order.
>> Name is for head of household, and sname is for a second person,
>> either a
This has most likely to do with a problem which was posted to the core
mailing list here:
http://groups.google.com/group/rubyonrails-core/browse_thread/thread/1fe3e88f9fe73177/
The culprit seems to be: I18n.locale is set to some value, if models
include a module that
requires some other files. Thu
1 - 100 of 107 matches
Mail list logo