Paul Mesnilgrente
Paul Mesnilgrente
I'm trying some very simple stuff like: ```ruby entry.published_at_with_locales['en-NZ'] = DateTime.parse(data['published_at']) # or even entry.published_at_with_locales = {'en-NZ' => DateTime.parse(data['published_at'])} # no errors! ``` But it's not working, when I run...
Hi, I have this code snippet: ```ruby client = Contentful::Management::Client.new(ENV['CONTENTFUL_ACCESS_TOKEN']) space = client.spaces.find(ENV['CONTENTFUL_SPACE_ID']) environment = client.environments(space.id).find('master') upload = client.uploads(space.id).create(image.image.path) # create the associated file file = Contentful::Management::File.new file.properties[:contentType] = image.mime_type...