tokens
sequence
ner_tags
sequence
[ "How", "does", "that", "work", ",", "when", "\"", "John", "\"", "is", "a", "String", "not", "a", "String", "?", "?" ]
[ "O", "O", "O", "O", "O", "O", "B-Value", "I-Value", "I-Value", "O", "O", "B-Data_Type", "O", "O", "B-Data_Type", "O", "O" ]
[ "*", "Because", "Swift", "will", "implicitly", "convert", "any", "type", "to", "an", "optional", "wrapping", "that", "type", "if", "that", "'s", "what", "an", "argument", "requires", "." ]
[ "O", "O", "B-Language", "O", "O", "O", "O", "O", "O", "O", "B-Data_Type", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "So", "because", "the", "==", "function", "for", "comparing", "optionals", "requires", "a", "String", "?", "argument", ",", "\"", "John", "\"", "will", "be", "implicitly", "converted", "to", "{", "Some", "\"", "John", "\"", "}", ",", "allowing", "the", "==", "operator", "between", "two", "optionals", "to", "be", "used", "." ]
[ "O", "O", "O", "B-Code_Block", "O", "O", "O", "B-Data_Type", "O", "O", "B-Data_Type", "I-Data_Type", "O", "O", "B-Value", "I-Value", "I-Value", "O", "O", "O", "O", "O", "B-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "O", "O", "O", "B-Code_Block", "O", "O", "O", "B-Data_Type", "O", "O", "O", "O" ]
[ "*", "well", "actually", "\"", "John", "\"", "is", "n't", "a", "String", "either", ",", "it", "'s", "a", "string", "literal", "that", "is", "getting", "converted", "into", "a", "String" ]
[ "O", "O", "O", "B-Value", "I-Value", "I-Value", "O", "O", "O", "B-Data_Type", "O", "O", "O", "O", "O", "B-Data_Type", "O", "O", "O", "O", "O", "O", "O", "B-Data_Type" ]
[ "Since", "you", "are", "testing", "for", "three", "different", "conditions", ",", "correct", "value", ",", "incorrect", "value", ",", "or", "no", "value", ",", "there", "will", "be", "some", "amount", "of", "duplication", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "This", "can", "be", "minimized", "by", "extracting", "the", "duplication", "into", "a", "new", "method", ",", "such", "as", ":" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "I", "have", "configured", "database", "properly", "." ]
[ "O", "O", "O", "O", "O", "O" ]
[ "If", "I", "want", "to", "access", "the", "data", "from", "the", "table", "hello", "in", "the", "database", "called", "genes", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Variable", "O", "O", "O", "O", "B-Variable", "O" ]
[ "What", "'s", "the", "proper", "way", "to", "do", "it", "?" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "I", "ca", "n't", "do", "from", "books.models", "import", "hello", "as", "I", "do", "n't", "have", "hello", "in", "models.py", "." ]
[ "O", "O", "O", "O", "O", "B-Code_Block", "I-Code_Block", "I-Code_Block", "O", "O", "O", "O", "O", "B-Variable", "O", "B-File_Name", "O" ]
[ "The", "database", "genes", "and", "table", "hello", "is", "not", "the", "default", "Django", "database", "." ]
[ "O", "O", "B-Variable", "O", "O", "B-Variable", "O", "O", "O", "O", "B-Library", "O", "O" ]
[ "I", "have", "two", "databases", "." ]
[ "O", "O", "O", "O", "O" ]
[ "I", "have", "already", "setup", "Router", "." ]
[ "O", "O", "O", "O", "B-Class", "O" ]
[ "I", "want", "to", "now", "access", "data", "." ]
[ "O", "O", "O", "O", "O", "O", "O" ]
[ "How", "can", "I", "do", "that", "?" ]
[ "O", "O", "O", "O", "O", "O" ]
[ "Thanks" ]
[ "O" ]
[ "You", "need", "to", "do", "a", "few", "things.", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "settings.py" ]
[ "B-File_Name" ]
[ "routers.py" ]
[ "B-File_Name" ]
[ "One", "you", "have", "this", "set", "up", "then", "you", "need", "to", "create", "the", "models.py", "file", "for", "the" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-File_Name", "O", "O", "O" ]
[ "models.py" ]
[ "B-File_Name" ]
[ "To", "do", "this", "progmatically.", "." ]
[ "O", "O", "O", "O", "O" ]
[ "Once", "this", "is", "done", "-", "you", "should", "be", "able", "to", "Query", "using", "standard", "Django", "querysets" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Class", "O", "O", "B-Library", "B-Class" ]
[ "I", "need", "to", "ask", ",", "how", "to", "set", "height", "on", "all", "images", "which", "are", "on", "specific", "list", "and", "class", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "B-Variable", "O", "O", "B-User_Interface_Element", "O", "O", "O", "O", "B-User_Interface_Element", "O", "O", "O" ]
[ "I", "have", "HTML", ":" ]
[ "O", "O", "B-Language", "O" ]
[ "And", "I", "tried", "to", "do", "it", "with", "this", "code", "sample", ",", "but", "without", "working", ":" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "height", ":", "10px", "!", "important", ";" ]
[ "B-Variable", "O", "B-Value", "O", "O", "O" ]
[ "}" ]
[ "O" ]
[ "Where", "is", "the", "problem", "?" ]
[ "O", "O", "O", "O", "O" ]
[ "How", "to", "change", "CSS", "to", "work", "it", "properly", "?" ]
[ "O", "O", "O", "B-Language", "O", "O", "O", "O", "O" ]
[ "I", "need", "to", "change", "height", "on", "all", "images", "with", "class", "product-category", "." ]
[ "O", "O", "O", "O", "B-Variable", "O", "O", "B-User_Interface_Element", "O", "O", "B-Class", "O" ]
[ "Thank", "you", "for", "help", ",", "I", "think", ",", "it", "will", "be", "small", "improvement", ",", "but", "I", "do", "not", "know", ",", "which", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "Have", "a", "nice", "day", "!" ]
[ "O", "O", "O", "O", "O" ]
[ "li.product-category", "product>img", "selects", "all", "images", "that", "are", "direct", "children", "of", "elements", "<product>", "inside", "li-s", "with", "'", "product-category", "'", "class", "." ]
[ "B-Code_Block", "I-Code_Block", "O", "O", "B-User_Interface_Element", "O", "O", "O", "O", "O", "O", "B-HTML_XML_Tag", "O", "B-HTML_XML_Tag", "O", "O", "B-Class", "O", "O", "O" ]
[ "It", "is", "weird", "." ]
[ "O", "O", "O", "O" ]
[ "Try", "li.product-category", "img", "instead", "." ]
[ "O", "B-Code_Block", "I-Code_Block", "O", "O" ]
[ "The", "\"", ">", "\"", "in", "CSS", "selector", "means", "immediate", "child", "and", "you", "want", "to", "select", "ing", ",", "which", "has", "an", "a", "tag", "before", "." ]
[ "O", "O", "O", "O", "O", "B-Language", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "I", "also", "changed", "it", "to", "height", ",", "according", "your", "question", "." ]
[ "O", "O", "O", "O", "O", "B-Variable", "O", "O", "O", "O", "O" ]
[ "It", "should", "be", "like", ":" ]
[ "O", "O", "O", "O", "O" ]
[ "or", "if", "you", "want", "any", "<img>", ",", "then", ":" ]
[ "O", "O", "O", "O", "O", "B-HTML_XML_Tag", "O", "O", "O" ]
[ "here", "is", "my", "first", "class", "which", "is", "a", "homePage", "frame", "which", "calls", "another", "class", "called", "ProgressSample", "which", "writes", "data", "to", "the", "output", "stream", "and", "also", "updates", "the", "progress", "bar", "simultaneously", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "B-User_Interface_Element", "B-Class", "O", "O", "O", "O", "O", "B-Class", "O", "O", "O", "O", "O", "B-Class", "I-Class", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "this", "is", "the", "second", "class", "..", "." ]
[ "O", "O", "O", "O", "O", "O", "O" ]
[ "when", "i", "call", "its", "main(......)", "method", "just", "a", "frame", "with", "white", "color", "on", "it", "appears", "nothing", "is", "added", "on", "it", "plz", "plz", "plz", "help", "me", "with", "ur", "suggestions", "as", "soon", "as", "possible", "..", "." ]
[ "O", "O", "O", "O", "B-Function", "O", "O", "O", "B-Class", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "Is", "it", "different", "from", "foo.bar", "calling", "a", "function", "from", "a", "specific", "instance", "?" ]
[ "O", "O", "O", "O", "B-Variable", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "I", "'ve", "seen", "it", "around", "on", "tutorials", "but", "it", "'s", "never", "explained", "and", "it", "'s", "too", "general", "a", "term", "to", "show", "up", "on", "google", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Website", "O" ]
[ "Operator", "operator->", "can", "only", "be", "used", "on", "a", "pointer", "type", "(", "in", "that", "case", "foo->bar", "is", "equivalent", "to", "(", "*", "ptr", ")", ".bar", ")", "or", "a", "type", "that", "overloads", "operator->", "(", "in", "that", "case", "the", "semantic", "depends", "on", "the", "overload", "itself", ")", "." ]
[ "O", "B-Code_Block", "O", "O", "O", "O", "O", "O", "B-Data_Type", "O", "O", "O", "O", "O", "B-Code_Block", "O", "O", "O", "B-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "B-Code_Block", "O", "O", "O", "O", "O", "O", "B-Code_Block", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "An", "example", "with", "a", "pointer", "type", "might", "be", ":" ]
[ "O", "O", "O", "O", "B-Data_Type", "O", "O", "O", "O" ]
[ "An", "example", "for", "an", "overloaded", "type", "could", "be", ":" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "foo->bar", "is", "used", "when", "foo", "is", "pointing", "to", "a", "certain", "data", "type" ]
[ "B-Code_Block", "O", "O", "O", "B-Variable", "O", "O", "O", "O", "O", "O", "O" ]
[ "foo.bar", "is", "used", "when", "foo", "is", "an", "object", "of", "a", "class" ]
[ "B-Code_Block", "O", "O", "O", "B-Class", "O", "O", "O", "O", "O", "O" ]
[ "I", "created", "a", "Service", "Object", "called", "Transaction", "which", "processes", "an", "order", "made", ",", "sets", "up", "the", "payments", "and", "then", "sets", "up", "a", "model", "association", "." ]
[ "O", "O", "O", "B-Class", "O", "O", "B-Class", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "The", "class", "is", "called", "Transaction", "with", "two", "methods", ",", "initialize", "and", "pay", "." ]
[ "O", "O", "O", "O", "B-Class", "O", "O", "O", "O", "B-Function", "O", "B-Function", "O" ]
[ "I", "am", "testing", "it", "in", "spec/services/", "(", "it", "is", "in", "app/services", ")", "." ]
[ "O", "O", "O", "O", "O", "B-Code_Block", "O", "O", "O", "O", "B-Code_Block", "O", "O" ]
[ "The", "initialize", "method", "takes", "in", "an", "account", "and", "some", "parameters", "passed", "in", "by", "the", "user", "to", "process", "the", "order", "." ]
[ "O", "B-Function", "O", "O", "O", "O", "B-Variable", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "I", "am", "trying", "to", "test", "pay", "with", "rspec", "." ]
[ "O", "O", "O", "O", "O", "B-Function", "O", "B-Application", "O" ]
[ "How", "do", "I", "actually", "do", "such", "a", "test", "?" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "This", "function", "has", "a", "lot", "going", "on", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "For", "example", ",", "it", "creates", "new", "models", ",", "and", "then", "sets", "up", "some", "associations", "between", "them", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "So", "far", ",", "I", "created", "a", "double", "account", "as", "follows", ":" ]
[ "O", "O", "O", "O", "O", "O", "B-Data_Type", "B-Variable", "O", "O", "O" ]
[ "@account", "=", "double", "(", "\"", "account", "\"", ",", ":confirmed", "=>", "true", ",", ":confirmed", "?", "=>", "true", ")" ]
[ "B-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "B-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block" ]
[ "However", ",", "there", "are", "many", "functions", "(", "and", "associations", ")", "used", "in", "the", "Transaction", "pay", "method", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Class", "B-Function", "O", "O" ]
[ "So", "for", "example", "when", "these", "associations", "are", "called", "(", "once", "I", "call", "Transaction.pay", "in", "the", "test", ")", ",", "it", "returns", "an", "error", ":" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Function", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "The", "business", "model", "is", "a", "double", "just", "like", "account", ",", "and", "added", "as", "an", "attribute", "to", "@account", "." ]
[ "O", "B-Variable", "O", "O", "O", "B-Data_Type", "O", "O", "B-Variable", "O", "O", "O", "O", "O", "O", "O", "B-Variable", "O" ]
[ "How", "can", "I", "test", "my", "Transaction.pay", "when", "it", "creates", "new", "models", "and", "associations", "in", "there", "?" ]
[ "O", "O", "O", "O", "O", "B-Function", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "Do", "I", "need", "to", "mock", "all", "of", "them", "as", "shown", "above", "?" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "Or", "is", "there", "a", "better", "way", "to", "do", "it", "?" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "I", "am", "using", "FactoryGirl", ",", "but", "I", "am", "unable", "to", "use", "it", "as", "my", "account", "model", "uses", "Devise", "." ]
[ "O", "O", "O", "B-Application", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Variable", "O", "O", "B-Application", "O" ]
[ "Devise", "test", "helpers", "cannot", "be", "used", "outside", "of", "controllers", ",", "and", "since", "I", "'m", "testing", "in", "services", ",", "it", "wo", "n't", "work", "." ]
[ "B-Application", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "It", "'s", "hard", "to", "be", "specific", ",", "since", "you", "'ve", "not", "provided", "your", "Transaction", "class", "code", ",", "but", "at", "a", "high", "level", ",", "here", "'s", "what", "I", "'d", "recommend", ":" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Class", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "Do", "not", "use", "FactoryGirl", "or", "Devise", "helpers", "-", "ideally", ",", "you", "'re", "writing", "a", "unit", "test", "for", "this", "class", ",", "so", "you", "do", "n't", "want", "any", "external", "dependencies", "." ]
[ "O", "O", "O", "B-Application", "O", "B-Application", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "Stub", "out", "any", "model", "instances", "you", "'re", "dealing", "with", "-", "which", "is", "what", "you", "'ve", "done", "with", "account", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Variable", "O" ]
[ "Stub", "out", "any", "external", "classes", "being", "used", "within", "the", "service", "(", "such", "as", "Business", ")", ",", "and", "if", "you", "'re", "creating", "instances", "of", "those", "from", "the", "classes", ",", "then", "they", "'re", "doubles", "too", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Variable", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Data_Type", "O", "O" ]
[ "Here", "'s", "a", "vague", "example", "with", "no", "real", "implementation", ":" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "You", "'ll", "note", "I", "'ve", "only", "required", "the", "transaction", "file", "-", "this", "helps", "you", "be", "aware", "of", "what", "other", "classes", "it", "depends", "on", ",", "because", "you", "'ll", "(", "ideally", ")", "stub", "the", "constants", ",", "or", "if", "necessary", ",", "require", "other", "files", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "B-File_Name", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "It", "'ll", "keep", "this", "spec", "'s", "running", "time", "much", "better", "too", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "Also", ",", "I", "only", "stubbed", "confirmed", "?", ",", "not", "confirmed", "on", "the", "account", "double", "." ]
[ "O", "O", "O", "O", "O", "B-Variable", "I-Variable", "O", "O", "B-Variable", "O", "O", "B-Variable", "B-Data_Type", "O" ]
[ "From", "a", "Rails", "perspective", "they", "mean", "the", "same", "thing", ",", "but", "it", "'s", "better", "to", "use", "one", "of", "them", "consistently", ",", "instead", "of", "both", "." ]
[ "O", "O", "B-Library", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "If", "you", "have", "a", "ton", "of", "setup", "(", "a", "lot", "of", "constants", "and", "test", "doubles", ")", ",", "then", "I", "'d", "take", "that", "as", "a", "sign", "that", "this", "Transaction", "class", "probably", "needs", "to", "be", "broken", "up", "into", "several", "more", "specific", "classes", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Data_Type", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Class", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "My", "sql", "schema", "is", "like", "this", ":", "sqlfiddle" ]
[ "O", "B-Language", "O", "O", "O", "O", "O", "B-Application" ]
[ "I", "want", "to", "Show", "the", "TransactionID", ",", "DoctorID", ",", "PatientID", ",", "and", "TotalMedicine", "(", "obtained", "from", "amount", "of", "MedicineID", "on", "each", "transaction", ")", "where", "the", "last", "3", "digits", "numbers", "of", "PatientID", "are", "multiples", "of", "4", "." ]
[ "O", "O", "O", "O", "O", "B-Variable", "O", "B-Variable", "O", "B-Variable", "O", "O", "B-Variable", "O", "O", "O", "O", "O", "B-Variable", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Variable", "O", "O", "O", "O", "O" ]
[ "Sort", "the", "data", "in", "ascending", "by", "DoctorID", ",", "then", "count", "the", "TotalMedicine", "the", "largest", ",", "smallest", "and", "average", "on", "the", "Doctor", "ID", "." ]
[ "O", "O", "O", "O", "O", "O", "B-Variable", "O", "O", "O", "O", "B-Variable", "O", "O", "O", "O", "O", "O", "O", "O", "B-Variable", "I-Variable", "O" ]
[ "I", "have", "tried", "this" ]
[ "O", "O", "O", "O" ]
[ "but", "it", "didnot", "select", "the", "last", "3", "digit", "of", "the", "PatientID", "that", "are", "multiplies", "of", "4.", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Variable", "O", "O", "O", "O", "O", "O" ]
[ "Add", "Where", "Cast(Substring(PatientId", ",", "Len(PatientId", ")", "-", "2", ",", "3", ")", "as", "Integer", ")", "%", "4", "=", "0" ]
[ "O", "B-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block" ]
[ "Assuming", "that", "you", "ca", "n't", "change", "your", "schema", "to", "give", "tableHeader", "a", "varchar", "data", "type", ",", "or", "a", "char(5)", ",", "you", "need", "to", "account", "for", "the", "spaces", "on", "the", "end", "of", "the", "column", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Data_Type", "O", "O", "O", "O", "O", "B-Data_Type", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Data_Structure", "O" ]
[ "RTRIM", "will", "what", "you", "want", "." ]
[ "B-Code_Block", "O", "O", "O", "O", "O" ]
[ "In", "my", "app", "I", "want", "to", "use", "$", "this->forward404", "(", "\"", "Data", "not", "found", "\"", ")", ";", "to", "output", "individual", "error", "messages", "when", "necessary", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "B-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "In", "the", "dev", "mode", "it", "works", "fine", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "When", "I", "run", "my", "app", "in", "production", "mode", "-", "where", "debug", "is", "set", "to", "false", "in", "getApplicationConfiguration()", "-", "I", "do", "n't", "get", "the", "messages", "anymore", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Value", "O", "B-Function", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "in", "settings.yml", "I", "set", "a", "custom", "404", "action", "." ]
[ "O", "B-File_Name", "O", "O", "O", "O", "B-Error_Name", "O", "O" ]
[ "all", ":", ".actions", ":", "error_404_module", ":", "main", "error_404_action", ":", "custom404" ]
[ "O", "O", "O", "O", "B-Class", "O", "B-Function", "I-Function", "O", "B-Function" ]
[ "How", "can", "I", "pass", "the", "forward404", "to", "my", "custom404Success.php", "template", "??", "?" ]
[ "O", "O", "O", "O", "O", "B-Class", "O", "O", "B-File_Name", "O", "O", "O" ]
[ "The", "404", "handling", "is", "completely", "different", "between", "prod", "and", "dev", "." ]
[ "O", "B-Error_Name", "O", "O", "O", "O", "O", "B-Class", "O", "B-Class", "O" ]
[ "In", "prod", ",", "the", "message", "you", "pass", "to", "the", "forward404", "is", "simply", "written", "to", "the", "log", "and", "not", "passed", "to", "the", "handler", "action", "." ]
[ "O", "B-Class", "O", "O", "O", "O", "O", "O", "O", "B-Class", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "There", "are", "many", "ways", "to", "get", "round", "this", ",", "but", "the", "quickest", "(", "albeit", "dirtiest", ")", "would", "be", "to", "store", "the", "message", "in", "a", "static", "variable", "somewhere", "so", "the", "404", "handler", "can", "access", "it", "once", "the", "process", "gets", "there", ",", "e.g", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Data_Type", "O", "O", "O", "O", "B-Error_Name", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "In", "your", "action", "," ]
[ "O", "O", "O", "O" ]
[ "And", "in", "your", "404", "handler", "(", "assuming", "it", "'s", "in", "CommonActions", ")", "," ]
[ "O", "O", "O", "B-Error_Name", "O", "O", "O", "O", "O", "O", "B-Class", "O", "O" ]
[ "If", "you", "are", "able", "to", "get", "code", "of", "method", "you", "can", "see", "that", "method", "throws", "an", "sfError404Exception", ",", "that", "handles", "respect", "of", "enviroment", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Error_Name", "O", "O", "O", "O", "O", "O", "O" ]
[ "In", "dev", "it", "simple", "throws", "an", "exception", "and", "in", "prod", "it", "might", "be", "handle", "via", "set_exception_handler(\"my_handle\")", "." ]
[ "O", "B-Class", "O", "O", "O", "O", "O", "O", "O", "B-Class", "O", "O", "O", "O", "O", "B-Function", "O" ]
[ "You", "can", "override", "this", "it", "'s", "public", ")" ]
[ "O", "O", "O", "O", "O", "O", "O", "O" ]