- Heroku Maintenance Mode Fail
Does anyone know why maintenance mode doesn’t seem to work? Is there any way to check from the command line that we are in maintenance mode?
buy ultram online
– (Ken) This is how I test it on heroku_san: https://github.com/fastestforward/heroku_san/blob/master/features/step_definitions/remote_steps.rb#L130
buy diazepam online without prescription
Anyone had to send a fax from Ruby/Rails? Any good SaaS you used to do it?
valium online no prescription
- carrierwave custom processing is called twice
buy tramadol without prescription
soma online no prescription
crop_to = model.crop_to
# crop_to = [left_x, top_y, width, height]
provigil online pharmacy
manipulate! do |img|
# guard against the second time intelligent_crop is called
if (img.columns != crop_to || img.rows != crop_to)
adipex online without prescription
version :cropped_preview do
ativan online no prescription
No one seems to have heard of this particular bug, unfortunately.
buy ambien without prescription
What is the best soft-delete gem to help you not actually delete records?
buy klonopin online
acts_as_soft_delete_by_field was recommended, however rolling your own is probably also a very reasonable idea: this is pretty closely tied to your business logic.
buy xanax online
- validate_presence_of does not work with booleans
…because it fails if the boolean is set to false. Use
validates_inclusion_of :boolean_field, in: [true, false], allow_nil: false
CCMenu + Hudson w/o Basic Auth
“Has anyone figured out how to use CCMenu with Hudson and not have Basic Auth?”
Hudson has its own authorization mechanism, unlike Basic Auth, so it can’t be used with nice desktop tools like CCMenu which shows the red/green square in your system tray.
Consider using Jenkins.
Using Symlinks with Dropbox
Using the Linux Dropbox client seems to allow symlinks to be uploaded, but they will not behave as expect anywhere else. Someone was trying to have a “latest” folder point to the latest versioned folder.
The recommendation was just to have two copies of the files as a workaround.
Rails Bridge Outreach for Women Workshop has space
Looking to learn Rails? There’s a great meetup to get you up and running. As of this writing there is still space available. Come check the event out.
Ask for Help
“What do you tell Rails the default timezone is if your database has no concept like that?”
The best solution was to convert all rows in your DB to UTC and set Rails to also use UTC. There are MySQL commands to convert whole databases over to UTC, and can be run overnight if necessary.
There is a new release of Fixture Builder!
- Supports Rails 2 and 3
- Supports using existing Rails style fixture files using
config.legacy_fixture = Dir[path_to_old_fixtures] in your fixture_builder.rb file
- Its better tested too!
- Go grab it at https://github.com/rdy/fixture_builder#readme
Rails 3 Helpers
Rails now includes all helpers across your project in controllers that extends ApplicationController. Apparently there isn’t a setting to override this behavior either, and this is a change from Rails 2 where the scaffold would just include a line at the top of your controller like
helpers :all which could easily be deleted.