-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dearest Rack Community, Ruby Community, and passionate onlookers,
There is a time when transitions must be realized by a point of impact, when a
torch must go out, and it's replacement brightens the darkness. We've arrived
at such a point in the his
(I apologize in advance for top posting, but trying to keep this thread
consistent.)
I would say it's a definite problem for us. This project is an old legacy
project that several people have been working on for 6+ years. When I'm
rewriting, say, the receipt page and mailer, how could I possi
On Monday, August 18, 2014 1:57:08 AM UTC-7, Frederick Cheung wrote:
>
>
> On Monday, August 18, 2014 2:57:05 AM UTC+1, Phil wrote:
>>
>>
>> Is there a way to turn this sort of caching off globally? (Other caching
>> is fine, I don't want to turn all caching off.)
>>
>>
>> BTW- It is a bit mind
On Mon, Aug 18, 2014 at 10:46 AM, Zeb Haradon wrote:
> Sorry, I misspoke. I meant that once the problem occurs you have to actually
> reinstall postgres to get it to work again.
If the problem affects every db on the server, I can't imagine how it
could be anything *but* a postgres bug.
But sin
Antonio Moreno wrote in post #1155440:
> Now, I want to order the associated records:
>
> has_many :children, dependent: :destroy, -> { order 'id asc' } do
>
> but this raises an error:
>
> SyntaxError in ParentsController#index
> has_many :children, dependent: :destroy, -> { order 'id asc' } do
Hi,
in Ruby on Rails 4, let's say a parent has many children. Then I wanted
to reference only the persisted records in an active record association,
and followed this link's accepted answer
(http://stackoverflow.com/questions/19842765/how-do-you-reference-only-the-persisted-records-in-an-active-re
On Thursday, August 14, 2014 11:29:18 AM UTC-7, Hassan Schroeder wrote:
>
> On Wed, Aug 13, 2014 at 2:32 PM, Zeb Haradon > wrote:
> > Summary: rails app using postgres randomly gets into a state where
> hstore
> > array is returned as a string, and cannot be fixed without rebuilding
> the
>
I'm stuck and i don't know why it is not working right. I have a model
lesson wich has many sublessons. When i update the lesson rails update
properly the lesson attributes but is creating another sublessons
records instead of just updating it.
Here is my code
View Form:
<%= form_for @lesson do
On Sunday, 17 August 2014 21:57:05 UTC-4, Phil wrote:
>
>
> I hate to reply to myself, but I narrowed it down to Rails caching by
> DEFAULT of model queries. It can be worked around by passing 'true', like
> this:
>
>
> tc.name = "something different"
>
> tc.save!
>
> tp.test_children.map {|x|
It's not a systemic integrity problem, it is the way Rails has always
worked. Using tp.test_children.create() is not "another work-around", it
is the recommended way of adding children to a parent model that you have
already instantiated and has been available for as long as I can remember
(at
Hi all
I'm still struggling with Windows 7, Ruby and shopify_app.
I install shopify_app (gem install shopify_app)
I create a project (rails new MetaManager)
I edit the Gemfile to include shopify app (Add 'gem 'shopify_app' to
Gemfile)
I do a bundle install (bundle install)
then generate (rails g
ZANEC is adding *RoR Senior Developers* to work in the development and
production of interactive technology solutions for our clients.
Technical specs:
-
Setup and deploy a Rails App for production
-
Understand the Rails stack - callbacks, filters, plugins, engines,
On Monday, August 18, 2014 8:25:13 AM UTC+1, Ruby-Forum.com User wrote:
>
> I have this code(i use devise this is a redirect for user sign in):
>
> layout :layout_by_resource
>
> def layout_by_resource
> if devise_controller? && resource_name == :user && action_name ==
> 'new'
>
>
On Monday, August 18, 2014 2:57:05 AM UTC+1, Phil wrote:
>
>
> Is there a way to turn this sort of caching off globally? (Other caching
> is fine, I don't want to turn all caching off.)
>
>
> BTW- It is a bit mind blowing that this is turned on by default. Possible
> data corruption shouldn't
On Saturday, August 2, 2014 2:12:31 AM UTC+1, Ruby-Forum.com User wrote:
>
>
> We would like to extract it, and the first thought was 'gem'.
>
> And thus the questions arise :)
>
> Assuming making a gem is the correct idea, I'm going to need to call
> ActiveRecord methods such as 'create' from
>From the path shown in the error, I'm wondering if you didn't append
'/public' to the DocumentRoot in the apache configuration?
On Thu, Aug 14, 2014 at 1:46 PM, Rafael Soufraz
wrote:
> Hi folks,
>
> I had installed an ubuntu server redmine 12:04
>
> I decided to upgrade to the new version redm
I have this code(i use devise this is a redirect for user sign in):
layout :layout_by_resource
def layout_by_resource
if devise_controller? && resource_name == :user && action_name ==
'new'
"devise"
else
"application"
end
end
In my devise layout i use some variables,
17 matches
Mail list logo