On Jun 3, 5:46 pm, Chdem Chdem wrote:
> Because cookie store imply a strict size limit of 4kB..
>
If you hitting that limit you are usually doing it wrong (database
sessions can contain larger objects though)
Fred
> --
> Posted viahttp://www.ruby-forum.com/.
--
You received this message
why topic starter, not use cookie store?
Ivan Nastyukhin
dieinz...@me.com
On Jun 3, 2010, at 8:04 PM, Frederick Cheung wrote:
>
>
> On Jun 3, 4:39 pm, Chdem Chdem wrote:
>> Ok, I have more informations :
>>
>> I can read the array from session if I modify my development.rb file :
>> ch
On Jun 3, 4:39 pm, Chdem Chdem wrote:
> Ok, I have more informations :
>
> I can read the array from session if I modify my development.rb file :
> change
> config.cache_classes = false
> TO
> config.cache_classes = true
>
> like in production. But of course, I have to restart the server each
>
Ok, I have more informations :
I can read the array from session if I modify my development.rb file :
change
config.cache_classes = false
TO
config.cache_classes = true
like in production. But of course, I have to restart the server each
times I modify my code to see the results.
Is it a cache
Ok, thanks a lot !
But, these objects are not already saved in the database, so I can not
save the ids !
I have to check a lot of things before doing that.a solution
could be to use transactions.
How can I rollback after have saved objects ?
One more time, thank you Frederick !
Fre
On Jun 2, 6:46 pm, Chdem Chdem wrote:
> I only have the NoMethodError when accessing to the session key/value in
> an another function than the one where affectation was made, but in the
> same controler. Is it an envidence ?
If the problem only appears when accessing stuff put in the session
This is an array of objects, complete like this :
***
my_fileXml_array = Array.new
myFileXml = FileXml.new
myFileXml.name = "TEST"
myFileXml.description = "TEST"
my_fileXml_array << myFileXml
***
But if the datatype was a problem, I
On Jun 2, 2:54 pm, Chdem Chdem wrote:
> [code]def analysis_repository
> .
> session[:list_xml] = create_XML_file_obj(false)#put an array of
> XmlFile objects in the session
Is this actually an array or an association proxy that looks like an
array ?
Fred
--
You received this me
8 matches
Mail list logo