I found a solution for my issues. I just pointed the default directory
of apache to the same dir the db was in. just on another port. quick
fix.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rubyonra
Thanks.
But I config.gem 'will_paginate' before the end of environment.rb and
f the will_paginate is already installed but not worked. Got the
undefined method `paginate' for # Why? May you give
me a hint, or sample, let me fix it up.
On 8月28日, 上午12時05分, Raony Vieira ferreira
wrote:
> Jeff Chen
On Fri, Aug 27, 2010 at 11:42 PM, Iain Davis wrote:
>> As far as Tk goes. I am not particularly married to any one windowing
>> toolkit. Would wx, gtk or qt be a better fit, and still be X-platform?
>> I think we should target Windows, Linux and Mac. Tk caught my eye
>> because IDLE is written in
For those who are wondering. I need the social table class, to keep
track of user interactions. An interaction can be comment, upload,
like, etc. I need this table, because in the future I will have a page
that displays recent user interactions sorted by created_at
On Aug 29, 7:14 am, Christian Fa
Ok, I've been on this issue for several hours already. If someone with
more RoR experience can help me out. It will be much appreciated.
A small description of what I am trying to do. In the deal show view.
I want to display comments for a particular deal. So far everything
works, except that I am
Hi Pepe,
On Sat, Aug 28, 2010 at 3:28 PM, Pepe Sanchez wrote:
> Thank you Bill,
>
> I guest I can reformulate my question asking about what url in the web
> will you browse to look for a job to redesign/recreate a web site.
> Other than craigslist.org that has a section "gigs","computers" for thi
Thanks, this is just what I was looking for.
On Fri, Aug 27, 2010 at 6:17 PM, Errol Siegel wrote:
> I just happened to be looking for the same information. I found it
> here:
>
> http://www.michaelharrison.ws/weblog/?p=349
>
> To quote the relevant part:
>
> The solution is to give devise_for
merge_conditions seems to be gone from rails 3. Is there something in
Rails 3 or Arel that would allow me to achieve the same thing, which
is to merge various types of conditions (array, hash, etc)? I haven't
spent much time with Arel, so I may be missing something obvious.
Thanks
--
You recei
On 28 August 2010 22:18, badnaam wrote:
> Is the :limit option in the regular find call effectively same as
> doing find_in_batches? or does doing something like the following
> loads "all" of the record and then returns only 5?
>
> find(:all, :conditions => ['age > ?', age], :limit => 5)
It will
Is the :limit option in the regular find call effectively same as
doing find_in_batches? or does doing something like the following
loads "all" of the record and then returns only 5?
find(:all, :conditions => ['age > ?', age], :limit => 5)
--
You received this message because you are subscribed
On 28 Aug 2010, at 20:32, Anthony Smith wrote:
> Has anybody noticed validates_uniqueness_of missing in rails 3.0 rc2? I'm not
> sure if this is a bug or I'm just doing something wrong.
It's still in there, as far as I can see. If it had been removed, you'd get an
error when you try to call 'va
Thank you Bill,
I guest I can reformulate my question asking about what url in the web
will you browse to look for a job to redesign/recreate a web site.
Other than craigslist.org that has a section "gigs","computers" for this
kind small projects.
I already have a detailed scope of the project
Has anybody noticed validates_uniqueness_of missing in rails 3.0 rc2? I'm not
sure if this is a bug or I'm just doing something wrong.
Here's what I'm doing.
Class 1:
class Title < ActiveRecord::Base
validates_length_of :language, :is => 3
validates_uniqueness_of :language, :scope => :b
Hello everyone,
I'm extremely new to Ubuntu, and kind of new to Ruby on Rails. I have a
question that I was hoping someone come kindly help me with.
My company has recently purchased a Facebook script that has been
developed with Ruby on Rails and I am trying to setup the development
environment
Hi,
I am trying to deploy my application that requires rails-2.3.8,
ferret_server running in background(DRB) and workling_client+sterling.
Above configuration is running on a VPS with 512MB, latest Ruby
Enterpise Edition+
passenger+nginx+mysql. But I continue to see out of memory issues.
What I
On Sat, Aug 28, 2010 at 9:21 AM, Marnen Laibow-Koser
wrote:
>> Why? What possible value does an obfuscated and shortened URL
>> offer anyone?
>
> It's more Twitter-friendly.
Point taken. But I'd still rather see a human/SEO-friendly URL in my
browser and as appropriate provide a "tweetable" vers
Hassan Schroeder wrote:
> On Sat, Aug 28, 2010 at 5:14 AM, Ze Ca wrote:
>> I suppose they could, but I'd like to make the URL path as short as
>> possible.
>
> Why? What possible value does an obfuscated and shortened URL
> offer anyone?
>
It's more Twitter-friendly. See
http://groups.google.
Hi Pepe,
On Sat, Aug 28, 2010 at 7:16 AM, Pepe Sanchez wrote:
> We need to have a parent's association web site redesigned and rebuilt,
> amy be using RoR or may be using a CMS. What places do you recommend to
> an add?
I would suggest that you need to first identify your needs to decide
whether
Awesome, thanks Hassan for pointing me in the right direction.
Hassan Schroeder wrote:
> On Sat, Aug 28, 2010 at 7:30 AM, Ze Ca wrote:
>> That is true... I guess what I'm trying to get at is avoid using the
>> built in ids as the resource identifier... and instead just using a
>> randomly generat
On Sat, Aug 28, 2010 at 7:30 AM, Ze Ca wrote:
> That is true... I guess what I'm trying to get at is avoid using the
> built in ids as the resource identifier... and instead just using a
> randomly generated number as the identifier:
Again, I don't know why you'd bother :-) but you could generat
That is true... I guess what I'm trying to get at is avoid using the
built in ids as the resource identifier... and instead just using a
randomly generated number as the identifier:
www.myrailsapp.com/post/what-were-they-thinking-184952
Hassan Schroeder wrote:
> On Sat, Aug 28, 2010 at 5:14 AM,
On Sat, Aug 28, 2010 at 5:14 AM, Ze Ca wrote:
> I suppose they could, but I'd like to make the URL path as short as
> possible.
Why? What possible value does an obfuscated and shortened URL
offer anyone?
If anything, most users would get more value out of something like
www.myrailsapp.com/pos
On Aug 27, 8:30 am, Shripad wrote:
> Hi all,
>
> I am working on a project, in this I am assigned a task, this task
> consist of recording a live earning cast call when administrator press
> single button for that event.
> The Earning cast call are basically conference calls which happen at
> th
Aashish Kiran wrote:
> Hi, I want to launch a rails application on godaddy. I purchased a
> domain and a hosting plan. I really could not understand from where and
> how to start to deploy rails application .
>
> Can anyone please tell how to proceed.
GoDaddy supports Rails officially, so talk
Iain Davis wrote:
>> Iain Davis wrote:
>>> That is, I should be able to download, run an installer, click on a
>>> icon, and starting typing ruby code into an editor that can execute
>>> the ruby code. :)
>
> Marnen Laibow-Koser wrote:
>> You can do that already. �irb comes standard, and you can u
Colin Law wrote:
> On 28 August 2010 14:03, Zack Nathan wrote:
>>> I thought you were trying to use collection_select
>>>
>>> Colin
>>
>> So did I until I found this. Whichever one works is fine with me :P !
>
> Use collection_select, it does more for you.
>
> By the way why have we got lots of
On 28 August 2010 14:03, Zack Nathan wrote:
> Colin Law wrote:
>> On 28 August 2010 13:43, Zack Nathan wrote:
>>> ...
>>> of course! I have found this snippet of code and im trying to get it to
>>> work:
>>> �<%= select("group_users", "group_id", @groups.collect {|p| [
>>> p.group.name, p.group.i
Colin Law wrote:
> On 28 August 2010 13:43, Zack Nathan wrote:
>> ...
>> of course! I have found this snippet of code and im trying to get it to
>> work:
>> �<%= select("group_users", "group_id", @groups.collect {|p| [
>> p.group.name, p.group.id ] }, { :include_blank => true }) %>
>>
>> But i can
On 28 August 2010 13:43, Zack Nathan wrote:
> ...
> of course! I have found this snippet of code and im trying to get it to
> work:
> <%= select("group_users", "group_id", @groups.collect {|p| [
> p.group.name, p.group.id ] }, { :include_blank => true }) %>
>
> But i cant seem to get it to work a
Colin Law wrote:
> On 28 August 2010 12:23, Zack Nathan wrote:
>>> presume you have looked at collection_select docs and googled for
>>> Colin
>>
>> Thanks. Yeah i need a collection_select (a drop down menu in html) that
>> will have the serving name as the name and also as the value. Now I dont
>
On 28 August 2010 12:23, Zack Nathan wrote:
> Colin Law wrote:
>> On 28 August 2010 10:44, Zack Nathan wrote:
Colin
>>>
>>> Its ok, I worked it out late last night, thanks though! But how would I
>>> put the display name and then the ids into a collection for a
>>> collection_select menu. Im
Aashish Kiran wrote:
> Hi, I want to launch a rails application on godaddy. I purchased a
> domain and a hosting plan. I really could not understand from where and
> how to start to deploy rails application .
>
> Can anyone please tell how to proceed.
>
> thank you
> aashish
I think this arti
Hi all
We need to have a parent's association web site redesigned and rebuilt,
amy be using RoR or may be using a CMS. What places do you recommend to
an add?
Please advise
jsn
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Grou
I suppose they could, but I'd like to make the URL path as short as
possible. Plus, it's a excuse to learn how it works :).
Colin Law wrote:
> On 28 August 2010 05:07, Ze Ca wrote:
>> www.myrailsapp.com/1djs34 (or some join of randomly generated letters
>> and numbers) so that users easily bookm
hi, Patrick.
Try the following code, it works for me.
replace
# config/initializers/session_store.rb
ActionController::Dispatcher.middleware.insert_before(
ActionController::Session::CookieStore,
FlashSessionCookieMiddleware,
ActionController::Base.session_options[:key]
)
with
Rails.appli
Colin Law wrote:
> On 28 August 2010 10:44, Zack Nathan wrote:
>>> Colin
>>
>> Its ok, I worked it out late last night, thanks though! But how would I
>> put the display name and then the ids into a collection for a
>> collection_select menu. Im stuck on this because I only know how to put
>> data
On 28 August 2010 10:44, Zack Nathan wrote:
> Colin Law wrote:
>> On 27 August 2010 09:38, Zack Nathan wrote:
>>> I just realised i still get the error even with that code! HELP!!! :P
>>
>> Please quote the message you are replying to. Which code?
>>
>> Please post the code again and the error a
Colin Law wrote:
> On 27 August 2010 09:38, Zack Nathan wrote:
>> I just realised i still get the error even with that code! HELP!!! :P
>
> Please quote the message you are replying to. Which code?
>
> Please post the code again and the error along with which line the
> error is on. First thou
Hi Adil
I think you would have a much better chance to get an answer to your
question if you post this on the ruby-dicom forum instead:
http://groups.google.com/group/ruby-dicom
Best regards,
Chris
On Aug 26, 12:27 pm, adil wrote:
> Hi,
>
> I am struggling with dicom iamge view in rails ap
Hi Adil
I think you would have a better chance of getting an answer to your
question if you post your question on the ruby-dicom forum instead:
http://groups.google.com/group/ruby-dicom
Chris
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to
On 28 August 2010 05:07, Ze Ca wrote:
> The path I currently have for a record in the post table is this:
>
> www.myrailsapp.com/post/id
>
> here's the route:
>
> map.resources :posts, :has_many => :comments
>
> Any thoughts on how you would make the above this?
>
> www.myrailsapp.com/1djs34 (or
41 matches
Mail list logo